Visibility of AysncStorage data to users - asyncstorage

I prefer to encrypt the data that I store on LocalStorage as it can be seen on browsers by end users of my web application. For example, on Chrome, LocalStorage data can be seen under Developer Tools -> Application -> Storage -> Local Storage.
What about AsyncStorage on mobile apps? Can this data be seen too by end users of the mobile app?

Related

Accessing own Dropbox storage from an application

I would very much like to enable users of my app to backup some of app data on their own Dropbox. I would like to direct users to login to their Dropbox account with their email and password and then the app would generate and store a file there without users having do anything on their own.
Is this possible?
I wouldn't want users to have to go to Dropbox App Console and then Create App and then fill in all the options and then copy the access token and paste in my app manually. That would repel a lot them.
I haven't seen anything in the docs suggesting that programmatic access to an account without an app created in the Console and generated access token is possible? Did I miss something?
Yes, this is possible. You as the developer would register the app once, and implement the Dropbox OAuth app authorization flow in your app to allow your end-users to then connect your app to their accounts.
You may want to check out the following guides:
https://www.dropbox.com/developers/reference/getting-started
https://developers.dropbox.com/oauth-guide
https://developers.dropbox.com/dbx-file-access-guide

Where to store settings for public Shopify App

I am developing a public Shopify app.
Where should I store app custom settings? Does Shopify have some API to store custom settings?
In case I save settings in my custom database how can I load them in my embedded app?
Store your app settings in your database. The embedded app you're creating should handle authentication properly and your app should access the store settings and any other store data only when you're sure the app is loaded by the client that has the right to access this data.
Here are the links that might be useful:
Shopify App CLI
Authenticate with OAuth
Building embedded apps using session tokens
Build a Shopify App with Node and React Tutorial
You should store your app settings in the store metafields.

API access &OAuth

I am new to Google API usage, so please excuse the seemingly basic question.
I am writing a mobile app for members of a Club. The app needs to access a Google calendar and photo storage both maintained by the Club admin. I am having difficulty getting my head around the type of app I should be creating (Web Client, IOS, Android or all). When the OAuth consent screen opens, I am not sure which credentials the user should be entering (theirs or the Club admin).
What is required to allow the user to gain access to the shared calendar and photos?

Where to store PWA app data on OneDrive not to be accessible by user?

I want to write a PWA app (to run on Android and Windows 10) working with user's files and photos on OneDrive. I need to store some metadata and I prefer those to be inaccessible to the user.
What are my options?
OneDrive approot special folder is normal folder visible to the user.
I do not want to store the data locally on the device, as I want the app to be run on multiple devices.
I cannot use Windows 10 UWP roaming app data, as they would sync between Windows 10 devices, but not to Android devices.
I do not want to store the data at the PWA's backend, as it would need creating an extra user account. I want the user to log in to their MS Account to access their OneDrive, and to create another account for storing metadata. I prefer the app to be 100% client side.
Are there any other options I missed? I would prefer creating some hidden folder on OneDrive accessible by the app, but by the user. OneDrive does not seem to have such functionality, at least if I read it's API docs properly.
Depending on your exact use case you may want to check out Microsoft Graph:
https://developer.microsoft.com/en-us/graph
Microsoft Graph is an cross-device experiences platform and available for nearly all platforms. Within the Microsoft Graph you can use Activities to share metadata between different devices: https://github.com/microsoftgraph/microsoft-graph-docs/blob/master/api-reference/v1.0/resources/project_rome_overview.md
There is also an demo project on Github of an PWA with usage of the Microsoft Graph:
https://github.com/boyofgreen/MSGraphPWA

Can I access the BlackBerry Javascript API from a webpage?

Would it be possible to, after gaining the user's permission, access the javascript API on BlackBerry devices from a mobile webapp? Sort of in the same way you can request permission from a user to access their Facebook information?
I know it's possible to create a native app in HTML5+JavaScript using WebWorks and gain access to it there, but for the solution we're building asking the user to download an app would be over-kill.
No, the stock BlackBerry browser won't allow you to access any WebWorks extensions. Javascript extensions need to be explicitly loaded by a native (Java) application into the BrowserField.
This is probably a security feature.