cordova-plugin-device icon indicating copy to clipboard operation
cordova-plugin-device copied to clipboard

divece is undefined for ios in 2.1.0 version

Open Okkkks opened this issue 3 years ago • 0 comments

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

Okkkks avatar May 13 '22 16:05 Okkkks