is push notification and analysis platform for smart devices.
GrowthPush.Initialize(APPLICATION_ID, "APPLICATION_SECRET", GrowthPush.Environment.Development, true, "SENDER_ID");
That's all. GrowthPush instance will get APNS device token, send it to server. You can get the app ID and secret on web site of GrowthPush.
You can get furthermore information on GrowthPush documetations.
- Import GrowthPush.unitypackage.
- Rename PostprocessBuildPlayerSampleForGrowthPush to PostprocessBuildPlayer, or add the following code if PostprocessBuildePlayer exists.
./Assets/Editor/PostprocessBuildPlayerForGrowthPush $@
- PostprocessBuildPlayerSampleForGrowthPush need Ruby, RubyGems and xcodeproj gem.
sudo gem install xcodeproj
- Rename AndroidManifestSampleForGrowthPush.xml to AndroidManifest.xml, or add the following code if AndroidManifest.xml exists.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<permission android:name="YOUR_APPLICATION_PACKAGE_NAME.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="YOUR_APPLICATION_PACKAGE_NAME.permission.C2D_MESSAGE" />
<activity
android:name="com.growthpush.view.AlertActivity"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Translucent" />
<receiver
android:name="com.growthpush.BroadcastReceiver"
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="YOUR_APPLICATION_PACKAGE_NAME" />
</intent-filter>
</receiver>
- Add the following code to register device token and tracking events.
GrowthPush.Initialize(APPLICATION_ID, "APPLICATION_SECRET", GrowthPush.Environment.Development, true, "SENDER_ID");
GrowthPush.TrackEvent("Launch");
GrowthPush.SetDeviceTags();
GrowthPush.ClearBadge();
Licensed under the Apache License.