You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to use local storage capabilities with Chrome App you can only use the chrome.storage.
According to the this answer is possible to figure out if the app is running as a chrome extension or not:
if(window.chrome&&chrome.runtime&&chrome.runtime.id){// Code running in a Chrome extension (content script, background page, etc.)}
So if detected then we shouldn't use any other storage capabilities. That would be great because porting existing apps that are using Amplify would be relatively easy.
The text was updated successfully, but these errors were encountered:
If you want to use local storage capabilities with Chrome App you can only use the
chrome.storage
.According to the this answer is possible to figure out if the app is running as a chrome extension or not:
So if detected then we shouldn't use any other storage capabilities. That would be great because porting existing apps that are using Amplify would be relatively easy.
The text was updated successfully, but these errors were encountered: