I'm assuming you're making calls after the deviceready event, correct?
Otherwise, my guess is that either things haven't loaded completely when
you made the call, or there are scoping issues, both of which could be
resolved by using a setTimeout.

Sorry if this is isn't helpful, but I figured I would try :)

Marc


On Thu, Jun 12, 2014 at 10:58 PM, Nitta, Minoru <[email protected]
> wrote:

> Hi,
>
>
>  I have some questions about Cordova plugins for iOS.
>
>  It seems to me that Cordova APIs don't work fine if they are called
> within a
> callback function of Cordova API. This phenomenon happens on iOS but
> doesn't
> happen on Android.
>
>  Strangely, Cordova APIs work fine even if they are called within a
> callback
> function of Cordova API, if they are wrapped within a setTimeout function.
>
>  Does anybody have information about this?
>
> Thank you.
>
> Minoru
>
>

Reply via email to