Skip to content

Commit 09885eb

Browse files
committed
android 12 queries
1 parent 2852b38 commit 09885eb

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

android/src/ti/webdialog/Utils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static int[] getStyleableIntArray(String packageName, String name)
4747
// return the list of all available & enabled browsers in device
4848
public static List<ResolveInfo> allBrowsers(Context context)
4949
{
50-
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.testingurl.com"));
50+
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://localhost"));
5151
return context.getPackageManager().queryIntentActivities(intent, 0);
5252
}
5353

android/timodule.xml

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ti:module xmlns:ti="http://ti.appcelerator.org" xmlns:android="http://schemas.android.com/apk/res/android">
3-
<!--
4-
Similar to tiapp.xml, but contains module/platform specific
5-
configuration in <iphone>, <android>, and <mobileweb> sections
6-
-->
7-
<iphone>
8-
</iphone>
3+
<!-- Similar to tiapp.xml, but contains module/platform specific configuration in <iphone>, <android>, and <mobileweb> sections -->
4+
<iphone></iphone>
95
<android xmlns:android="http://schemas.android.com/apk/res/android">
6+
<manifest>
7+
<queries>
8+
<intent>
9+
<action android:name="android.intent.action.VIEW"/>
10+
<data android:scheme="http"/>
11+
</intent>
12+
</queries>
13+
</manifest>
1014
</android>
1115
</ti:module>

0 commit comments

Comments
 (0)