Pushwoosh / pushwoosh-appcelerator-titanium

Other
33 stars 16 forks source link

are Pushwoosh tiapp.xml entries still needed #4

Closed safadig closed 8 years ago

safadig commented 8 years ago

current sample ios-android Pushwoosh app does not have:

<activity android:name="com.arellomobile.android.push.MessageActivity"/>
                <activity android:name="com.arellomobile.android.push.PushHandlerActivity"/>
                <service android:name="com.arellomobile.android.push.GeoLocationService"/>
                <receiver android:name="com.arellomobile.android.push.AlarmReceiver"/>
                <receiver
                    android:name="com.google.android.gcm.GCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND">
                    <intent-filter>
                        <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
                        <action android:name="com.google.android.c2dm.intent.REGISTRATION"/>
                        <category android:name="com.toledoallergy.App1"/>
                    </intent-filter>
                </receiver>

Are these needed still?

DimanAM commented 8 years ago

These changes in the manifest comes from the module: https://github.com/Pushwoosh/pushwoosh-appcelerator-titanium/blob/master/Titanium-Sample-iOS-Android/modules/android/com.pushwoosh.module/1.1.0/timodule.xml

They are automatically added when you build the sample.

<receiver android:name="com.google.android.gcm.GCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND">
                    <intent-filter>
                        <!-- Receives the actual messages. -->
                        <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
                        <!-- Receives the registration id. -->
                        <action android:name="com.google.android.c2dm.intent.REGISTRATION"/>
                        <category android:name="${tiapp.properties['id']}"/>
                    </intent-filter>
                </receiver>