aws / aws-sdk-mobile-analytics-js

Amazon Mobile Analytics JavaScript SDK
Apache License 2.0
82 stars 38 forks source link

No internet connection mode not working #21

Closed fkindy01 closed 7 years ago

fkindy01 commented 7 years ago

Hello everyone i have follow the exact steps and works fine when my app is connected to the WiFi but the below error is triggered when i use my app with no internet connection

Failed to load resource: net::ERR_NAME_NOT_RESOLVED https://undefined.us-east-1.amazonaws.com/

Isn't there automatically suppose to local storage the events and when is online to send it or should i make it? Cause in android and ios native language AWS automatically take care of this issues.

Thanx in advance!

johnborges commented 7 years ago

Can you post some sample code on how you're instantiating the AMA.Manager. The URL you're trying to hit looks wrong.

richabra commented 7 years ago

How have you brought in the aws sdk? Is it local or remote ()?

fkindy01 commented 7 years ago

Thanks for all the help guys. I have fixed the issue! it was a problem with the way i handle the data