Tell us what happens instead. Provide a log message if relevant
I'm seeing this behaviour on
Remove this hint: these checkboxes can be checked like this: [x]
[ ] iOS device
[ ] iOS simulator
[X] Android device
[ ] Android emulator
I am using
[X] cordova
[X] ionic
[ ] PhoneGap
[ ] PhoneGap Developer App
[ ] Intel XDK
[ ] Intel App Preview
[ ] Telerik
[ ] Other:
Hardware models
Example: Samsung Galaxy S6, iPhone 6s
OS versions
Example: Android 4.4.2, iOS 9.2
I've checked these
[X] It happens on a fresh Cordova CLI project as well.
[X] I'm waiting for deviceready to fire.
[X] My JavaScript has no errors (window.onerror catches nothing).
[x] I'm using the latest cordova library, Android SDK, Xcode, etc.
So how can we reproduce this?
Provide the used components versions (cordova, ionic, etc).
Provide the steps to reproduce the issue.
Provide files, sources if available.
Complete Error output at device's chrome
vendor.js:1823 ERROR Error: Uncaught (in promise): TypeError: Object(...) is not a function
TypeError: Object(...) is not a function
at Sim.getSimInfo (vendor.js:102391)
at TimelinePage.webpackJsonp.262.TimelinePage.getDevicePhoneNumber (main.js:1279)
at TimelinePage.webpackJsonp.262.TimelinePage.ngOnInit (main.js:1291)
at checkAndUpdateDirectiveInline (vendor.js:12785)
at checkAndUpdateNodeInline (vendor.js:14309)
at checkAndUpdateNode (vendor.js:14252)
at prodCheckAndUpdateNode (vendor.js:14976)
at Object.eval [as updateDirectives] (ng:///AppModule/TimelinePage_Host.ngfactory.js:11)
at Object.updateDirectives (vendor.js:14698)
at Object.checkAndUpdateView (vendor.js:14218)
at c (polyfills.js:3)
at c (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (vendor.js:5125)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at o (polyfills.js:3)
App Module
import {Sim} from "@ionic-native/sim/ngx";
providers: [
Sim
]
Expected behaviour
Tell us what should happen.
Actual behaviour
Tell us what happens instead. Provide a log message if relevant
I'm seeing this behaviour on
Remove this hint: these checkboxes can be checked like this: [x]
I am using
Hardware models
Example: Samsung Galaxy S6, iPhone 6s
OS versions
Example: Android 4.4.2, iOS 9.2
I've checked these
deviceready
to fire.window.onerror
catches nothing).So how can we reproduce this?
Provide the used components versions (cordova, ionic, etc).
Provide the steps to reproduce the issue.
Provide files, sources if available.
Complete Error output at device's chrome
App Module
Execution Class: