Comments (3)
You dont have to use requestReadPermission on iOS.
This is Android only feature.
On 13 Nov 2016 20:25, "rolinger" [email protected] wrote:
Expected behaviour
Should load fine, but it is not
Actual behaviourTell us what happens instead. Provide a log message if relevant
Verson 1.3.0 sim is loaded into ios environment, deploying to iOS
simulator iPhone 6 (iOS 10.0).Getting error on: window.plugins.sim.requestReadPermission - says its not
a function and is undefined. It is being referenced after
$ionicPlatform.ready is called. However, this all works just fine on
Android.
- iOS device
- [ x] iOS simulator
- 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 versionsExample: Android 4.4.2, iOS 9.2
I've checked these
- It happens on a fresh Cordova CLI project as well.
- I'm waiting for deviceready to fire.
- My JavaScript has no errors (window.onerror catches nothing).
- 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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#42, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAej2YSPc05oqAr4Kxm6MHEF_QQMxB8lks5q92Q6gaJpZM4Kwxkh
.
from cordova-plugin-sim.
ah, ok...will give it shot and post. thanks
from cordova-plugin-sim.
yup...fixed. Thanks
from cordova-plugin-sim.
Related Issues (20)
- Note: iOS 16.4 depreciation CTCarrier (does not work after)
- Get Undefined
- Support for Android Permission Rationale Description?
- Support for Windows UWP planned?
- phonenumber is getting nulll HOT 2
- Judge whether there is a SIM card? HOT 1
- Cordova Not Available when getting SIM info HOT 2
- Dual sim IMEI
- in iPhone is required to include a permission on config.xml? HOT 1
- plugin not working, reported not installed under iOS
- ERROR Error: Uncaught (in promise): TypeError: Object(...) is not a function TypeError: Object(...) is not a function at Sim.getSimInfo HOT 1
- ionic native sim plugin iOS side not working HOT 1
- app can't access imei in android 10. HOT 4
- Phone Number returns empty string HOT 2
- unable to fetch IMEI number on android 10 HOT 5
- Plugin not working on iOS
- The user 10412 does not meet the requirements to access device identifiers. HOT 5
- Empty phoneNumber string HOT 1
- Error when trying to get sim info on new Android device HOT 1
- This plugin has a maintained repo now - please use and follow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-sim.