Good day
I am exploring this PWA es module from https://pwafire.org/
I'm struggling to call functions in this esModule. The file is in the assets folder.
I have made the call
The log of pwa does give..
however calling setBadge is giving an error, perhaps I'm not doing this correctly.
Any help would be appreciated.
Thanks in advance. BANanoSkeleton Project Attached.
I am exploring this PWA es module from https://pwafire.org/
I'm struggling to call functions in this esModule. The file is in the assets folder.
I have made the call
B4X:
Dim pwa As BANanoObject = BANano.Await(BANano.Import("pwa.js"))
log(pwa)
pwa.RunMethod("setBadge", 10)
The log of pwa does give..
however calling setBadge is giving an error, perhaps I'm not doing this correctly.
Any help would be appreciated.
Thanks in advance. BANanoSkeleton Project Attached.