'Get install device unique id web -> native app iOS Capacitor
I am building a cross-plattform solution with Capacitor where I need to identify during the Android and iOS app installation which 'group' the device belongs to in order to establish an initial configuration after it. In android, the issue is clear as I can use the InstallReferrer api (https://developer.android.com/google/play/installreferrer). From this I get my group identifier from the webapp, from which I redirect to the Google Play installation with this information that I can use in the installation.
As far as I know, there is no such functionality in iOS, so I considered using device information to achieve this (https://capacitorjs.com/docs/apis/device). I thought of storing the device UUID on the server through the web environment that redirects to the App Store, and querying the same the first time the app is opened to establish that relationship. The problem I have found is that the device UUID is not the same in the web and native environments, so it is impossible to achieve my purpose in this way.
Thanks in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
