mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
adding useful telephony information to Device; sim serial number and some oters
(cherry picked from commit da8c4f4a7539b2e6165d48ad6859f65c3133fc59)
This commit is contained in:
@@ -17,7 +17,11 @@ function Device() {
|
||||
this.version = window.DroidGap.getOSVersion();
|
||||
this.gapVersion = window.DroidGap.getVersion();
|
||||
this.platform = window.DroidGap.getPlatform();
|
||||
this.name = window.DroidGap.getProductName();
|
||||
this.name = window.DroidGap.getProductName();
|
||||
this.line1Number = window.DroidGap.getLine1Number();
|
||||
this.deviceId = window.DroidGap.getDeviceId();
|
||||
this.simSerialNumber = window.DroidGap.getSimSerialNumber();
|
||||
this.subscriberId = window.DroidGap.getSubscriberId();
|
||||
}
|
||||
} catch(e) {
|
||||
this.available = false;
|
||||
|
||||
Reference in New Issue
Block a user