Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This test will confirm that your device which you installed the app on has registered successfully in Appoxee database.

Testing procedure:

  • Open Charles on your computer
  • download Download your application to your device and install it for the first time.
    Note: If your application was already installed on your device in the past, please use a device that it was not installed on yet. 
  • Launch the application
  • In Charles click on the https://saas.appoxee.com or https://api.eu.appoxee.com in the structure pane to 
  • Click on the individual device records on the left pane and check the request and response tabs on the right pane as seen in the below screen shotscreenshot:
    Image Removed
    Image Added

Expected result:

The following requests and their respective responses should be successfully reported by Charles.

each Each request should return a response code of 200 indicating the call was successful.

The Device should have all out of the box parameters included, specifically a Push Token.

Request:

{"key":"81dc64005ec0403","actions":{"app_conf":"","default_values":""}}

Response:

{
"metadata": {
"error": false
},
"links": [],
"payload": {
"app_conf": {
"id": "104774",
"mailboxTitle": "Demo Inbox",
"RTL": "1",
"moreApps": "0",
"feedback": "1",
"is_dev": "0",
"powered": null,
"inbox": "1",
"coppa": "0",
"customInbox": "1",
"timeout": null,
"sleep": null,
"api_link": "saas.appoxee.com\/api\/v3\/device",
"secret": "fgo3WkbvHWMjFmYoHxZMbjnLT0QMj0gLkCBXU\/02",
"key": "AKIAIRES3UGQOP5NJGJQ",
"sqs_link": "https:\/\/sqs.us-east-1.amazonaws.com\/463740239353\/prod",
"google_pid": "423433911434",
"display_last": "2",
"UDIDHashed": "631CB106AB7E537429E24152CBDFB48F5A3B5209D73B5BA47BBA0E2F4C394D80"
},
"default_values": {
"Pr\u00e9nom": "",
"Age": "36",
"DerniereConnexion": "",
"F_name": "Tal",
"B_day": "18-12-1977"
}
}
}

 

Request:

{
"key": "81dc64005ec0403",
"actions": {
"time": "",
"register": {
"UDIDHashed": "631CB106AB7E537429E24152CBDFB48F5A3B5209D73B5BA47BBA0E2F4C394D80",
"appID": 104774,
"uuid": "6d461379-0886-4a34-8be3-8b38bdde9a7b",
"realUDID": "81dc64005ec0403",
"pushToken": "c6g82rAPsgQ:APA91bEmacvAU4qlEy9I7J7V_N6aZT6lZCj6RQwLZ-qNB6B0eRpKIlZ363k5mujMFC4hEkjmkfOh3aR9GqBdfhT4WjBzzwxGoijN_Cl_GQOy5ErvjQiKZhJw63-tYXHXX-tJ9Eiv5thK",
"appVersion": "46",
"clientVersion": "2.5.6",
"hardwareType": "SM-A500F",
"osName": "5.0.2",
"osNumber": 21,
"locale": "en_US",
"timeZone": "Asia\/Jerusalem",
"resolution": "720x1280",
"density": 320,
"platform": "Android",
"customFields": {}
}
}
}

Response:

{
"metadata": {
"error": false
},
"links": [],
"payload": {
"time": "2015-12-14T13:47:48.300",
"register": []
}
}

 If the push permission dialog is shown prior to SDK registration the Push Token parameter should be included otherwise nothing will be shown in the request


Request:

Image Added


Response:

Image Added



Logs

Ios

Watch the console for the following line:

Code Block
[Appoxee Debug] Engaging Appoxee SDK...
[Appoxee Debug] Appoxee is using US endpoints.
[Appoxee Debug] Application Activated
............
............
[Appoxee Debug] Appoxee SDK is Ready. You can listen for 'APX_Ready' notification to catch this event.

The Line "Appoxee SDK is Ready. You can listen for 'APX_Ready' notification to catch this event." indicates that the registration completed successfully



Android

Watch logcat for the following line: 

Code Block
registerDevice_V3 response : {"metadata":{"error":false},"links":[],"payload":{"time":"2016-11-10T12:14:36.481","register":[]}}


The above Line show that the registration was completed successfully