AlexaAndroid icon indicating copy to clipboard operation
AlexaAndroid copied to clipboard

This site can't be reached amzn://com.....android.alexavoicelibrary?

Open PikkaPikkachu opened this issue 8 years ago • 1 comments

Whenever I try to login through amazon I get this error that the site can't be reached. The website might be temporarily down or it may have moved to a new address. ERR_UNKNOWN_URL_SCHEME. Is there a way to get out of this problem? Thanks for any help!

PikkaPikkachu avatar Dec 15 '17 07:12 PikkaPikkachu

Fix your app's AndroidManifest.xml. The AuthorizationActivity is where you need to make the change.

<!-- required so we can get back the result of our authentication //-->
<activity android:name="com.amazon.identity.auth.device.authorization.AuthorizationActivity"
    android:allowTaskReparenting="true"
    android:launchMode="singleTask"
    android:theme="@android:style/Theme.NoDisplay" >
    <intent-filter>
       ...
        <!-- host should be our application package //-->
        <data
            android:host="com.yourpackage.name"
            android:scheme="amzn" />
    </intent-filter>
</activity>

bmac901 avatar Aug 30 '18 16:08 bmac901