cordova-plugin-device
cordova-plugin-device copied to clipboard
divece is undefined for ios in 2.1.0 version
Bug Report
Problem
device is undefined for ios in 2.1.0 version
What is expected to happen?
I use check platform in my code
device.platform
and after update from version 2.0.3 to 2.1.0 the cod doesn't work because device is undefined
I was create test project and check it on ios v5.1.1 and for ios v6.2.0 - it's doesn't work for v2.1.0 and works for v2.0.3
see my test project in attachment test.zip
What does actually happen?
Information
Command or Code
Environment, Platform, Device
Version information
Checklist
- [ ] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [ ] I included all the necessary information above