[AC-5019] Android: URL-scheme issue
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2017-06-23T16:05:24.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | android |
| Reporter | Andreas Pingas |
| Assignee | Shak Hossain |
| Created | 2017-06-12T08:04:00.000+0000 |
| Updated | 2017-06-23T16:05:24.000+0000 |
Description
Dear all,
*Android devices
*When i use scheme, when the app boots the splash screen is blank white screen and does not load what i have set to load. Also, before the app loads it sometimes a white blank screen opens.
How do i manage to overcome this issue? It appears only on android devices, whereas IOS works properly.
Thank you in advance for your help!
Regards,
Andreas
<application android:theme="@style/MyTheme">
<activity android:alwaysRetainTaskState="true"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="MyApp"
android:launchMode="singleTask"
android:name=". MyAppActivity" android:theme="@style/MyTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="myscheme"/>
</intent-filter>
</activity>
</application>
Please read http://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters-section-src-43287610_AndroidIntentFilters-LaunchMode You should not use
android:launchMode="singleTask"with Titanium.Hello, [~andreas.pingas], Is this still an issue for you? Can you follow up on the previous comment?