<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="chat.rocket.reactnative"
    android:versionCode="1"
    android:versionName="1.0">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
		<uses-permission android:name="android.permission.CAMERA" />
		<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

		<uses-permission android:name="android.permission.WAKE_LOCK" />
		<permission
   	android:name="${applicationId}.permission.C2D_MESSAGE"
   	android:protectionLevel="signature" />
		<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />
		<uses-permission android:name="android.permission.VIBRATE" />

    <uses-sdk
        android:minSdkVersion="16"
        android:targetSdkVersion="22" />

    <application
      android:name=".MainApplication"
      android:allowBackup="true"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:theme="@style/AppTheme">
      <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
        android:windowSoftInputMode="adjustResize">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>
      <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />



			<receiver
		   	android:name="com.google.android.gms.gcm.GcmReceiver"
		   	android:exported="true"
		   	android:permission="com.google.android.c2dm.permission.SEND" >
		   	<intent-filter>
		       	<action android:name="com.google.android.c2dm.intent.RECEIVE" />
		       	<category android:name="${applicationId}" />
		   	</intent-filter>
			</receiver>

			<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
			<service android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService"/>
			<service
		   	android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
		   	android:exported="false" >
		   	<intent-filter>
		       	<action android:name="com.google.android.c2dm.intent.RECEIVE" />
		   	</intent-filter>
			</service>
    </application>

</manifest>
