I have created an ionic app.
The application works with 'ionic serve' on chrome & safari, as a native app on android and on iphone with ios 9.
The problem occurs when I test it against ios 8. Both on actual phone and emulator.
At a high level the problem is that the ui-router otherwise doen't work properly.
Digging into the source code revealed, the transition promise is getting to the ERROR callback. On working environments the promise is getting to the SUCCESS callback.
The promise is at line 40963 on ionic.bundle.js 1.0.1 source code.
I can't find related issues online. I'll appreciate any kind of help.
Thanks in advance.
Related
I have installed Battery 1.0.1 from pub but can't get it to work in iOS Simulator.
I tried the example app included in the pub, and also my own simple implementation. Both work fine in Android emulator, but in iOS simulator they throw the following
Exception has occurred. PlatformException (PlatformException(UNAVAILABLE, Battery info unavailable, null))
I've googled, but can't confirm if this info is available at all in iOS simulator, so I don't know if this is a problem on my side.
Is it possible to check for battery level in the simulator at all?
thank you.
I had the same issue with IOS simulator. Then I've tried on real IOS device and works well.
After upgrading to ios 5.1.1 from 4.2.1, my page www.zolkan.com loads and immediately disappears showing a blank gray page. I did not change anything on my page for over a year.
Before upgrading my iPhone from 4.2.1 to 5.1.1, it loaded fine. Same was with my iPad running 5.0.1... After going to 5.1.1, the page loads and disappears.
It seems that only the dynamic page (generated by python CGI) is doing this... The rest of the static pages behave normally.
Any ideas?
Use safari under developer mode as an iOS device to determine the root cause. After looking at what is happening, I bet your social loading code has changed something remotely, specifically, the fb-root tag that is warned about in the error console. Start there by disabling the social network stuff and start debugging.
update: I just disabled javascript on my phone and got the page up so it is definitely a JS bug somewhere.
SDK version 5.0.4, device has IOS 4.3.2. When building for the simulator, all is fine and the ads load. When changing to 'device', I get 9000+ warnings(!) "unexpected srelocation type 9" when linking the app itself. When run on a device, the app crashes (EXC_BAD_ACCESS) at the first call in viewDidLoad, [[GADBannerView alloc] initWithFrame].
The problem we had was that originally, we used AdWhirl to serve the old AdMob (nee Google Admob) ads. When using the proper non-test AdWhirl account, AdMob ads (only!) would never show up.
I've tried updating AdWhirl and Google Admob in one go, and removing AdWhirl only using the new AdMob. With the latter the behavior is as described above, when used with AdWhirl it crashes a few seconds later when AdWhirl has loaded the ad.
Surely someone else got this, what did you do to solve it?
(Update: on installing it on another Iphone, I strangely got more info than EXC_BAD_ACCESS. It says:
Program received signal: “EXC_BAD_ACCESS”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Can't find dlopen function, so it is not possible to load shared libraries.)
Cannot access memory at address 0x2fdfe8c0
Cannot access memory at address 0x2fdfe8c0
My guess then is that I must make a shared library static (and that it works on the Simulator, because it has dlopen()). How do I do that?
)
I believe that that with SDK Version 5.0.4, it will only work if you are on the latest version of XCode which is I believe 4.2. Are you on the latest version of XCode?
The problem is in the framework libGoogleAdMobAds.a from GoogleAdMob SDK.
Use previous version of libGoogleAdMobAds.a from adMob.com for your Xcode, not the new one.
After that all 11345 warnings gone and app runs correct on device.
Regards, Papa Buba
Just encountered the problem with integration of AdMob into my iPad application.
The problem is that sometimes AdMob opens its own browser when device even not touched and then nothing happens (no ad is loaded in that browser) and UI doesn't react at all, so eventually I get my app frozen.
AdMob is integrated through AdWhirl, but problem is not there. I put breakpoint to adViewWillPresentScreen: and stack trace shows only AdMob's classes and no AdWhirl.
Switched AdWhirl log into debug mode, but can not see anything suspicious.
I haven't seen such problem on iPhone.
Has anyone faced this problem and is there any solution?
The problem got solved by updating AdMob SDK to the latest version.
App freezes, and the device freezes sometime during launching or closing. This happens especially to the app developed and installed using Xcode. Can anyone explain what's going on, if it's iOS 4 Gold Beta specific issue, or a generic task must be handled by a developer?
Use the Debugger, Console and NSLog() statements to track the progress of your application throughout its life. This will help you track the bug in your application.