How to fetch device information (Google Advertising Id or IDFA) from a progressive web app
相关问题
- Plugin with id 'com.google.gms.google-services
- How to pass form data from Ionic 3 to PHP file?
- apk big size with ionic 4 build
- Ionic Spinner not showing up
- PWAs on iOS 12 no longer shares Service Worker cac
相关文章
- Ionic 4: Hardware Back Button Reloading Applicatio
- Progressive web app(PWA) vs Electron vs Browser ex
- ionic - Copy/paste in input field in iOS 10 not wo
- Is there a way to add badge notifications using pr
- net::ERR_CONNECTION_REFUSED ionic
- Typescript Error: Property 'files' does no
- ionic 4 + angular: routerLink only works first tim
- Ionic conditional class css
Google Advertising ID is not accessible to progressive web app running in browser and so the installed PWA.
Said that, you can make it available to your installed PWA using an Android service(which is a native code getting the Google Advertising ID) and passing it to your PWA using Deep links, by setting a Indent filter to your PWA with a URL and have the ID retrieved in your native code passed to web app in the query para (URL).
You can refer to this java code to retrieve device identifiers and wrap it as a Android service, which calls your PWA using deep links.