0

I have a PWA and it stores data in the index DB of web browser. Whenever user clears the browser history , the data stored in the browser also get cleared. So i want to store the data in a text file in android internal storage from the browser. So i have included my PWA into Trusted Web Activity. My question is how to store file/data in the android internal storage from the web page shown in the trusted web activity.[calling android function from java script]

i have also included my PWA into Android web view. But Web view does not support background synchronization. So i have started trying with Trusted web activity. I do not want to use Hybrid App like apache cordova to access the android native functionality(storing in internal storage ).

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

1 Answers1

0

It's not currently possible to access Android's internal storage from a Trusted Web Activity.

andreban
  • 4,621
  • 1
  • 20
  • 49