Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
- android:versionCode="1"
- android:versionName="1.0"
- package="com.your.example">
- <supports-screens
- android:anyDensity="true"
- android:largeScreens="true"
- android:normalScreens="true"
- android:smallScreens="true"
- android:xlargeScreens="true" />
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
- <application
- android:icon="@drawable/app_icon"
- android:label="@string/app_name"
- android:theme="@style/UnityTransparentStatusBarTheme">
- <activity
- android:label="@string/app_name"
- android:name="com.unity3d.nostatusbar.UnityPlayerActivityStatusBar"
- android:fitsSystemWindows="true">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
- </intent-filter>
- <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
- </activity>
- <service
- android:name="com.your.example.LocationPlugin"
- android:enabled="true"
- android:exported="true"/>
- <!-- Define ServiceMessageReceiver with the exported attribute -->
- <receiver
- android:name="com.your.example.ServiceMessageReceiver"
- android:exported="true">
- <intent-filter>
- <action android:name="com.your.example.MESSAGE" />
- </intent-filter>
- </receiver>
- <!-- Define StatusCheckStarter with the exported attribute -->
- <receiver
- android:name="com.your.example.StatusCheckStarter"
- android:exported="true">
- <intent-filter>
- <action android:name="com.your.example.IntentToUnity" />
- </intent-filter>
- </receiver>
- <!-- Define BootReceiver with the exported attribute -->
- <receiver
- android:name="com.your.example.BootReceiver"
- android:enabled="true"
- android:exported="true">
- <intent-filter>
- <action android:name="android.intent.action.BOOT_COMPLETED" />
- </intent-filter>
- </receiver>
- </application>
- <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23" />
- </manifest>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement