Guest User

Untitled

a guest
Feb 9th, 2018
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="com.Uander.teste"
  3. android:versionCode="4"
  4. android:versionName="1.1" >
  5.  
  6. <uses-sdk
  7. android:minSdkVersion="8"
  8. android:targetSdkVersion="15" />
  9. <!-- For customize with your app change below lines 11 and 13 "com.test.push".with your app package name-->
  10. <permission
  11. android:name="com.Uander.teste.permission.C2D_MESSAGE"
  12. android:protectionLevel="signature" />
  13. <uses-permission android:name="com.Uander.teste.permission.C2D_MESSAGE" />
  14.  
  15. <!-- This app has permission to register and receive data message. -->
  16. <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
  17. <uses-permission android:name="android.permission.WAKE_LOCK" />
  18. <!-- GCM requires a Google account. -->
  19. <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  20. <uses-permission android:name="android.permission.INTERNET" />
  21. <uses-permission android:name="android.permission.VIBRATE" />
  22.  
  23.  
  24. <application
  25. android:icon="@drawable/app_icon"
  26. android:label="@string/app_name" >
  27. <activity android:name="com.unity3d.player.UnityPlayerActivity" android:launchMode="singleTask" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="portrait">
  28. <intent-filter>
  29. <action android:name="android.intent.action.MAIN" />
  30. <category android:name="android.intent.category.LAUNCHER" />
  31. </intent-filter>
  32. </activity>
  33.  
  34. <receiver
  35. android:name="com.shephertz.app42.push.plugin.App42GCMReceiver"
  36. android:permission="com.google.android.c2dm.permission.SEND" >
  37. <intent-filter>
  38.  
  39. <!-- Receives the actual messages. -->
  40. <action android:name="com.google.android.c2dm.intent.RECEIVE" />
  41. <!-- Receives the registration id. -->
  42. <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
  43.  
  44. <!-- For customize with your app change below line 51 "com.test.push".with your app package name-->
  45. <category android:name="com.Uander.teste" />
  46. </intent-filter>
  47. </receiver>
  48.  
  49. <!--
  50. Application-specific subclass of GCMBaseIntentService that will
  51. handle received messages.
  52.  
  53. By default, it must be named .GCMIntentService, unless the
  54. application uses a custom BroadcastReceiver that redefines its name.
  55.  
  56. -->
  57. <service android:name="com.shephertz.app42.push.plugin.App42GCMService" >
  58. <!-- Defined Activity when Meesage is opened-->
  59. </service>
  60. <meta-data android:name="push_title" android:value="App42PushUnity"/>
  61. <meta-data
  62. android:name="com.google.android.gms.version"
  63. android:value="6587000" />
  64. <meta-data
  65. android:name="onMessageOpen"
  66. android:value="com.unity3d.player.UnityPlayerActivity" />
  67. </application>
  68.  
  69. </manifest>
RAW Paste Data