Tanmay Mehta
Posts: 0
Joined: Wed Apr 16, 2014 3:48 pm

How do you create a local storage variable?

I'm trying to retrieve the deviceID and token to register my app to the database. I've been following the tutorials and I got very confused when it told me to define the local storage variable. All I want to do is retrieve my device ID and token so how could I do that?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How do you create a local storage variable?

Hello!

[quote:]define the local storage variable[/quote]means create local storage variable on the upper right side in mapping section as shown on screenshot
Image

Tanmay Mehta
Posts: 0
Joined: Wed Apr 16, 2014 3:48 pm

How do you create a local storage variable?

But where is the mapping section?

Tanmay Mehta
Posts: 0
Joined: Wed Apr 16, 2014 3:48 pm

How do you create a local storage variable?

Thank You!

That did help, but when I created the pushNotificationDeviceID variable in the local storage, I couldn't find the deviceID. In one of the tutorials it told me to create a Device Ready event to retrieve the deviceID variable. I did create the event but I still couldn't retrieve the device ID. Can you please tell me how to properly retrieve the deviceID?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How do you create a local storage variable?

Hi - Please follow the steps described here: http://docs.appery.io/documentation/b...

Note: That this will work only if tested on the device. After the app is installed and DB Devices collection is updated.

Return to “Issues”