1

I'm testing my app with iPhone5 and suddenly with my new build , facebook login stopped working. (I'm using $cordovaOauth.facebook). It works in the iOS emulator by connecting to the same public web API.

My question is, how do you normally check the error logs when it crashes on the actual phone?

I'm using ubertesters to create my .ipa file. They have an SDK as well, but I couldn't get it running in my Ionic app. it gives the following error

Uncaught ReferenceError: cordova is not defined

I have setup the script as they say in the article.

<script src="js/ng-cordova.min.js"></script>
<script src="cordova.js"></script>
<script src="js/app.js"></script>
<script src="js/ubertesters.js"></script>

I would appreciate if someone can tell me how to debug a situation like this (it works in the iOS emulator).

4

1 回答 1

0

请尝试添加type="text/javascript"到脚本的每一行。请参见下面的示例:

<script type="text/javascript" src="js/ubertesters.js"></script>

这应该可以解决 Ubertesters SDK 集成的问题。

于 2015-02-02T09:33:37.847 回答