Skip to content

Instantly share code, notes, and snippets.

@KleversonNascimento
Created May 6, 2019 04:44
Show Gist options
  • Save KleversonNascimento/2f880c09c8b25c864a5a56dfacf35c5e to your computer and use it in GitHub Desktop.
Save KleversonNascimento/2f880c09c8b25c864a5a56dfacf35c5e to your computer and use it in GitHub Desktop.
AndroidManifest after changes
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.package.name.example">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<meta-data
android:name="asset_statements"
android:resource="@string/asset_statements" />
<activity
android:name=".LauncherActivity" //Change here
android:label="Launcher Activity" >
<meta-data android:name="android.support.customtabs.trusted.DEFAULT_URL"
android:value="https://www.example.com" />
<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="https"
android:host="www.example.com"/>
</intent-filter>
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment