I'm having crashing issue on mobile when swiping owl carousel slider, especially with iphone 11 pro using safari and chrome.
All other sliders works fine but one group/slider crashes the whole application when I perform swiping.
I cannot debug the issue even on browserstack. I can only see it crash.
Can someone give me leads on how to fix this?
Not sure if you figured this out yet or not since it's been a few months but posting in case others have this issue.
I came across your post because I was getting the same error on iPhone 11 Pros and isolated it as coming from Owl Carousel. Your mention of having other slider work fine actually clued me into what was happening and made me realize that it must be one of the options. I tested by removing all all the options I had included in the Owl Carousel script an I stopped seeing the error on the phone. Then to identify who the problem was I added the options back 1 at a time until I got the error again. It seems that if you have loop: true, set on it causes the site to crash on iPhone 11, iPhone 11 Pro and iPhone 11 Pro Max.
Then to resolve the issue I used the responsive option to set loop to true only for desktop sizes. It's a super odd bug and hopefully Owl Carousel addresses it soon.
Related
I am creating an android app built with angualar/ionic 5. and currently testing with android studio via enabled debugger on an android device.
The apps works well except for one issue.
The app, when minimized or drawn from the active apps lists restarts instead of resuming to the last active page. I am using angular/ionic 5 and I don't believe this is an issue angular/ionic router since this works fine in pwa/browser versions of the app.
I may be wrong but seems to think this may be due to some missing config for android platforms in config.xml . In my search I came across this
1. <preference name="AndroidLaunchMode" value="singleTask"/> //adding this to config.xml but it did'nt work.
some comments suggested memory leaks may be causing android to shut the app down when it's not in the foreground but tracking the apps memory usage in android studio, it seems to be within acceptable range
My conclusion is that perhaps a problem with ionic/capacitor/cordova core or some bug
This is driving me nuts!
If any one has had this problem, how did you solve it please?. and for those experienced ionic developers . what and where would you be looking at if you this issue. Thank you
I tried a different device on the emulator and it worked also tried a different physical device and it worked. this means that the problem is with my particular device. that leaves a lot of questions since a lot of people use my android brand with similar specifications. will the app exhibit same behaviour when downloaded from the playstore? or this is just an android testing and debugging problem.. i will inform you all of what will come later . thank you
In this case I would suggest you to check your device setting you might have mistakenly added this application in battery optimization mode.
Please check your setting I belive this is the culprits. Not your code
Thanks
So I've implemented notifications into my app, however I'm not sure if this is a bug or not, but the app icon that displays with the notification doesn't display on my iPhone, it instead shows the default icon! The weird thing is that it works on the simulator, but yeah! Is this a bug? Here's what they look like:
It's probably occurring because of the caching of app icons.
Firstly, try restarting the device and the issue must be resolved, I know this doesn't feel like a real solution but, it works this occurs due to weird iOS bug in some versions.
If the issue still persists you can
Uninstall the app.
Restart the device.
Menu - Product - Clean Build Folder
Clear Derived Data.
Then run again and the issue should be fixed.
I desperately need to use the Safari console on iOS 7 to debug a site. I've hooked my iPhone (5) displaying the site to my Mac. I've started Safari (v6.0.5), gone to the Develop menu, and started the web inspector for the site I'm on. I can see the list of elements on the site, which confirms I'm inside the correct inspector.
From what I've read, the logs to the console should be displayed inside the Logs section, and from what I've found inside Apple's iOS Safari documentation, I should be able to view logs inside there. For me though, nothing is ever logged. I can't even access any variables or functions; when I type anything in (e.g. document.title), it just 'logs' exactly what I've written, with the text I've just typed still in the input field. However, typing something that causes the browser on the device to show life works (e.g. alert('hi'); displays the alert dialog box on the device).
Can anyone help? This issue we have is only happening on iOS, and there's barely any other way to find what's going wrong. Is this problem limited to iOS 7?
I can confirm that this is an iOS 7 issue. The console.log statement works fine when using an iOS 6 or below device, but with iOS 7 won't show at all :(
Apple == new Microsoft();
Only minutes after posting this I got logging to work again, not sure if this is required, but it seemed to do magic for me:
Connect iOS 7 device
Open XCode
Setup device for development
Connect using Safari
Presto, I can see log messages again?!? (Mind you, I had not made any code-changes)
I had the same problem, just after updating to iOS 7. The solution was to update safari to the latest version for developers, which is version 6.1.
I have submitted an update of my application to iTunes which I got it approved today. Lately I have downloaded it on my device from iTunes to check and I found one functionality is not working as expected.
Problem:
I have a UIScrollView in my app and has horizontal scrolling. After the update I am not able to scroll it. I restarted the app and then it starts scrolling but scrolling infinite horizontally. I know this sounds stupid.
Immediately I opened my project code and ran it on device to check the issue using development provisioning profile but it is working perfectly over there.
Can any one suggest me what can be the issue? Or how can I debug that what went wrong when I submitted the update to iTunes?
You give us very little to work with, but here are a couple of suggestions:
Make sure you're looking at exactly the same code
Make sure you're testing code built with exactly the same compiler settings. For example, usually when you're running from Xcode you'll compile in debug mode. Don't. Compile it in "release" mode (with all the optimisations switched on)
Don't worry about provisioning profiles; they won't be the problem
If it's affecting all iOS 5 and 6 devices, though, I do wonder how you were testing it? And how fundamental is the scrolling to your app? It did, after all, pass Apple's testing. Maybe it's only happening on your devices because it has some "junk" left over from your previous testing?
I am trying to implement iAd's in my app and written all the required code for this... But for reasons unknown to me and my pals, my code is not working and i am not able to see the iAd's in my app. Even sample code from apples regarding iAd's is not working on my mac. The same code worked absolutely fine when ran on another system from another location. me and my pals are scratching our heads due to this from the past 3 days. I am posting two screenshots of the same code ran from two different locations and machines.... i am using X-code version 3.2.5, SDK version 4.2, Mac version 10.6.
All the inputs of any kind are appreciated....
When testing iAd on your iPhone simulator you will obtain a couple of positive and negative feedbacks for each iAd request. This is made to give you the possibility to test what will happen when you receive an ad, and when you do not receive it.
Generally, if you launch the application a couple of times, you should be able to see the ads appear almost once.
Otherwise, to better investigate the problem, you should post some example code from your app, to understand how you implemented the delegate methods to handle iAd events.