Open delanick opened 6 years ago
I hit the same problem last night. I resolved it with this code:
var telephony = require("nativescript-telephony");
if (page.android) {
simInfoAcquired = telephony.Telephony();
} else { // (iOS, so don't even attempt)
simInfoAcquired = Promise.resolve({});
}
simInfoAcquired.then((resolved) => { ...
Hi, getting the above crash error when just copying your code into my app. Any idea what could be wrong? Can you provide a {N} Core JS example?