So I’ve been testing and testing with Backendless and Dropsource to build an app for a restaurant group. There are parts of the app that will need to pull information from our Backendless API without any type of user authentication. Example: we have a 9 locations and I have a table for our locations. The user can open the “Locations” tab and all the locations populate by a general API call. They can then tap a specific location to get more information about the location. However, I’m running into some issues the API’s authentication. I have tried to set the app ID and API key as a device variable during the App Launch lifecycle but when I open the Locations page I get an error returned from the API stating " Non existing user token" In the same message it shows the user token(API key) that it’s using and it matches the API key in my Backendless environment. I’m not quite sure what to do here. I can post some images but wanted to get some feedback before I posted a ton of information.
@markpiller I’m not sure of best practice here. Everything was working for a while and then I started getting this error. I have permissions for the NotAuthenticatedUser role in this specific table set to allow all permission types.
Update: I removed the App Launched lifecycle event and did a ‘Set Value’ during the API request of the Page Loaded event and now the API call goes through with no errors. However, selecting a cell in the collection view should take the user to a page with the location details. Once the new page opens the API call runs to pull the data. At that point I get the " Non existing user token" error again.