Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Please add Add the following lines to your app's AndroidManifest.xml file (Replace "$APP_ID$" with your application id. e.g: com.appoxee.exampleapp) : 

     

    Code Block
    languagexml
    themeEclipse
    firstline1
    titleAndroidManifest.xml
    linenumberstrue
    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="<app package>">
    
        <!-- Required  <permissionfor using internet (which is a must) -->
    	<uses-permission android:name="<app package>android.permission.C2D_MESSAGE" android:protectionLevel="signatureINTERNET" />
    	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    
    	<!-- Required for receiving GCM (push) messages -->
    	<uses-permission android:name="<app package>com.google.android.c2dm.permission.C2D_MESSAGERECEIVE" />
    	<!-- Custom GCM permissions  <application -->
    	<permission android:name="$APP_ID$.permission.C2D_MESSAGE" android:protectionLevel="signature" />
    	<uses-permission android:name="$APP_ID$.permission.C2D_MESSAGE" />
    
    
    	<!-- REQUIREDKeeps forthe C2DMprocessor -->from sleeping when handling received push messages -->
    	<uses-permission  <receiver
                android:name="android.permission.WAKE_LOCK" />
    
    	<!-- For vibrating when showing notification -->
    	<uses-permission android:name="comandroid.appoxeepermission.gcm.PlayBroadcastReceiverVIBRATE" />
    
    
    	<application >
        	<meta-data   android:permissionname="com.google.android.c2dmgms.permission.SENDversion"
    >        android:value="@integer/google_play_services_version" />
    
        	<!-- Receive the actual messageMust have for Push Support by Appoxee -->
        	<service android:name="com.appoxee.push.PushOpenIntentService" />
    
        <intent	<!--filter> GCM push receiver, custom permission -->
       	 	<receiver
         <action  	 	android:name="com.google.android.c2dmgms.intentgcm.RECEIVEGcmReceiver"
    />        		android:exported="true"
            <category 		android:namepermission="<app package>com.google.android.c2dm.permission.SEND" />
                </intent-filter>
    
                <!-- Receive the registration id -->
                		<intent-filter>
                    		<action android:name="com.google.android.c2dm.intent.REGISTRATIONRECEIVE" />
                    		<category android:name="<app package>$APP_ID$" />
                		</intent-filter>
            	</receiver>
    
        	</application>
    </manifest>
    
    

     The following Manifest declarations are needed for Eclipse Integration only (when manifest merging is off): 

    Code Block
    languagexml
    firstline1
    titleEclipse declarations
    linenumberstrue
    <manifest >
    
       <!-- Required for using internet (which is a must) -->
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /!-- Custom intent service to handle incoming messages -->
        	<service
            		android:name="com.appoxee.gcm.AppoxeeGcmListenerService"
            		android:exported="false" >
         <!-- Required for receiving GCM (push) messages -->
        <uses-permission   		<intent-filter>
             	   <action android:name="com.google.android.c2dm.permissionintent.RECEIVE" />
    
    
       <!-- Keeps the processor from sleeping when handling received push messages --> 		</intent-filter>
        <uses-permission android:name="android.permission.WAKE_LOCK" />	</service>
    
        	<!-- For vibrating when showing notificationInstanceId -->
        <uses-permission android:name="android.permission.VIBRATE" />	<service
              <application >
    
            <meta-data 	 android:name="com.googleappoxee.androidgcm.gms.versionAppoxeeInstanceIDListenerService"
                		android:valueexported="@integer/google_play_services_version" /false">
             <!-- Must have for Push Support by Appoxee -->
    		<service		<intent-filter>
                		<action android:name="com.google.appoxeeandroid.gms.gcmiid.PlayIntentServiceInstanceID" />
            <service android:name="com.appoxee.push.PushOpenIntentService" />		</intent-filter>
        	</service>
    
    
        	<!-- Additional Includecapabilities forsupport inbox/more-apps/feedback support(inbox, url deep-linking, feedback, more apps screen) -->
            	<activity android:name ="com.appoxee.activities.InboxMessage"/>
            	<activity android:name="com.appoxee.activities.Inbox" />
            	<activity android:name="com.appoxee.activities.MoreApps"/>
        	<activity android:name="com.appoxee.activities.Feedback"/>
        	<activity android:name="com.appoxee.activities.FeedbackLandingPage"/>
    
        		<!-- Needed Forfor geo-fencesgeofence support -->
            	<service android:name="com.appoxee.geo.GeofenceTransitionsIntentService"/>
            	<service android:name="com.appoxee.geo.AppoxeeGeofencingManager" />
             	<receiver android:enabled="true" android:name=".geo.BootCompleteReceiver">
                		<intent-filter>
                    		<action android:name="android.intent.action.BOOT_COMPLETED" />
                		</intent-filter>
            	</receiver>
    
        	</application>
    
    </manifest>

 

...

  1.