Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

getSimInfo not returning Call State in iPhone #70

Open
10 tasks
rsrajan75 opened this issue Sep 1, 2017 · 0 comments
Open
10 tasks

getSimInfo not returning Call State in iPhone #70

rsrajan75 opened this issue Sep 1, 2017 · 0 comments

Comments

@rsrajan75
Copy link

Expected behaviour

getSimInfo not returning callstate in iPhone. Working perfectly in Android.

Actual behaviour

in iOS environment getSimInfo to return the CallStae.

  • [X ] iOS device
  • iOS simulator
  • Android device
  • Android emulator

I am using

  • cordova
  • [X ] ionic
  • PhoneGap
  • PhoneGap Developer App
  • Intel XDK
  • Intel App Preview
  • Telerik
  • Other:

Hardware models

iPhone 6

OS versions

iOS 9.0+

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).
async getCallState(): Promise {
return new Promise( (resolve, reject) => {
this.sim.getSimInfo().then(
(output => { alert(JSON.stringify(output)); resolve (output.callState) }),
(error => { reject (error) })
)
})
}

Provide the steps to reproduce the issue.

Provide files, sources if available.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant