<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="co.realtime.reactnativemessagingandroid">

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

    <permission android:name="co.realtime.reactnativemessagingandroid.permission.C2D_MESSAGE" android:protectionLevel="signature" />

    <uses-permission android:name="co.realtime.reactnativemessagingandroid.permission.C2D_MESSAGE" />

    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />


    <application android:allowBackup="true" android:label="@string/app_name"
        android:supportsRtl="true">

        <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
        <receiver
            android:name=".GcmReceiver"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <category android:name="co.realtime.reactnativemessagingandroid" />
            </intent-filter>
        </receiver>
        <service android:name="ibt.ortc.extensibility.GcmOrtcIntentService" />
    </application>

</manifest>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="co.realtime.reactnativemessagingandroid">

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

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

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

    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />


    <application android:allowBackup="true" android:label="@string/app_name"
        android:supportsRtl="true">

        <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
        <receiver
            android:name=".GcmReceiver"
            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>
        <service android:name="ibt.ortc.extensibility.GcmOrtcIntentService" />
    </application>

</manifest>

Support multiple apps request same C2D_MESSAGE permission
Support multiple apps request same C2D_MESSAGE permission