Skip to content

Instantly share code, notes, and snippets.

@mianuddin
Last active April 18, 2019 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mianuddin/d323900cc5804dcc54ed90bb6b72d180 to your computer and use it in GitHub Desktop.
Save mianuddin/d323900cc5804dcc54ed90bb6b72d180 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.chatsample">
<uses-permission android:name="android.permission.INTERNET"/>
<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="com.snapchat.kit.sdk.clientId"
android:value="">
<meta-data
android:name="com.snapchat.kit.sdk.redirectUrl"
android:value="example://snap-kit/oauth2"/>
<meta-data
android:name="com.snapchat.kit.sdk.scopes"
android:resource="@array/snap_kit_scopes"/>
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name=".InfoActivity"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name="com.snapchat.kit.sdk.SnapKitActivity"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<!-- Customize your redirect URL here. (scheme::host/path) -->
<data
android:host="snap-kit"
android:path="/oauth2"
android:scheme="example"/>
</intent-filter>
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment