I Use capacitor/device to extract unique device for Android and iOS. It is functional after uninstalling and installing application in Android , but for iOS whenever i Change my WiFi Network i get different device_id, how to handle this any alternative please suggest?
In my case only one device_id should be persistent for one user even after uninstall and installs.
import { Device } from '@capacitor/device';
const info = await Device.getInfo();
const id = await Device.getId();
3 posts - 2 participants