Skip to content

Instantly share code, notes, and snippets.

@ruanlinos
Created July 28, 2021 20:00
Show Gist options
  • Save ruanlinos/adfacbf3baab3b4dd4859c24f3d5cbea to your computer and use it in GitHub Desktop.
Save ruanlinos/adfacbf3baab3b4dd4859c24f3d5cbea to your computer and use it in GitHub Desktop.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.seuapp"
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme"
android:launchMode="singleTask">
#Procura por esse activity, aonde ta definido tua .MainActivity
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:screenOrientation="portrait"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true">
...other intents
# aqui voce adiciona um intent novo com o nome do bundle do teu app.
<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="com.seuapp" />
</intent-filter>
</activity>
</application>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment