Get platform ID from cordova
import cordova_getplatformid from 'browser_modules/cordova-getplatformid/module.js';
const {GetPlatformId} = cordova_getplatformid;
console.log(GetPlatformId.getId()); // browser, ios, android, electron
Frontle
frontle install cordova-getplatformid
File Download
https://github.com/Artifriends-inc/cordova-getPlatformId
Get platform ID from cordova
console.log(GetPlatformId.getId()); // browser, ios, android, electron
The original author of cordova-getplatformid is MushStory