Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5019] Android: URL-scheme issue

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2017-06-23T16:05:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterAndreas Pingas
AssigneeShak Hossain
Created2017-06-12T08:04:00.000+0000
Updated2017-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>

Comments

  1. Gary Mathews 2017-06-12

    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.
  2. Sharif AbuDarda 2017-06-19

    Hello, [~andreas.pingas], Is this still an issue for you? Can you follow up on the previous comment?

JSON Source