We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9fd05e commit 8124857Copy full SHA for 8124857
src/android/Device.java
@@ -98,7 +98,7 @@ public String getPlatform() {
98
* @return android.provider.Settings.Secure.ANDROID_ID
99
*/
100
public String getUuid() {
101
- return Settings.Secure.getString(this.cordova.getActivity().getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
+ return Settings.Secure.getString(this.cordova.getContext().getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
102
}
103
104
public String getModel() {
0 commit comments