Вопрос

I have an app built on Cordova 3.3 running this phonegap-estimote plugin.

All works great on iOS 7 devices, but will crash on startup for any version previous.

I've tried using window.device.version on DeviceReady to bypass calls related to the plugin, but I think the app crashes on plugin initialization.

So my question: is there a way to conditionally load a plugin or prevent it from initializing?

Это было полезно?

Решение

This is Wojtek Borowicz, I'm a community evangelist in Estimote.

Please note that Estimote SDK, for which the referenced PhoneGap plugin was built, is only compatible with iOS 7. You can however set some code within your libraries and the CoreLocation from 'required' to 'optional'

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top