Skip to content

Instantly share code, notes, and snippets.

@KleversonNascimento
Last active May 6, 2019 04:42
Show Gist options
  • Save KleversonNascimento/65927a91561a396f97cb0cb780fe25ca to your computer and use it in GitHub Desktop.
Save KleversonNascimento/65927a91561a396f97cb0cb780fe25ca to your computer and use it in GitHub Desktop.
AndroidManifest before 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="android.support.customtabs.trusted.LauncherActivity"
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