Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Description:
Hurree proffers broad solution to developers community in developing custom mobile apps for in
app messaging. This is under campaign management segment for hybrid mobile apps development
using Phonegap for iOS and Android.
Mobile SDK: Once installed, you can integrate HURREE mobile SDK into your hybrid mobile
applications using phonegap. This in turn, provides extensive in app messaging experiences for
campaign management and analytics.
Given below are the steps, to integrate Phonegap SDK into your application code for Android and
iOS apps.
Step 1.
Type and run the command, below, in your Cordova project to install the
HURREE plugin. This Plugin is available for iOS and Android platforms only.
Step 2.
A. window.plugins.hurreSDK.setApplicationAndUserKeys(successCallback,errorCallba
ck,Array)
2: User Id (String)
8: Email (String)
B. window.plugins.hurreSDK.showPushNotificationView(successCallback,errorCallbac
k,Array)
Param Type :- Array.
Ex:- {
"aps": {
"alert": "joetheman",
"sound": "default"
},
"id": 1234
C. window.plugins.hurreSDK.notificationFromHurree(successCallback,errorCallback,A
rray)
Param Type :- Array.
Data reuquired in Array :- 0: Notification Payload (JSONObject)
D. window.plugins.hurreSDK.logApplicationEvents(successCallback,errorCallback,Arr
ay)
Param Type :- Array.
E. window.plugins.hurreSDK.logPurchaseEvents(successCallback,errorCallback,Array)
Param Type :- Array.
2: Price (String)
3: Quantity (Integer)
F. window.plugins.hurreSDK.changeUser(successCallback,errorCallback,Array)
Param Type :- Array.
6: Email (String)
G. window.plugins.hurreSDK.logoutSDK()