...
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:
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:
{ |
Response:
{ |
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:
Response:
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