I made a login with Apple on my login screen, and I made an if statement to check if the platform is iOS to show it in iOS devices.
The problem is when I run the app on the iOS simulator the button shows up, but when I run the app on a real device the button does not show up.
if (Platform.isIOS)
_LoginWithAppleIdWidget()
Related
I need to prevent the phone from auto-lock on one page of the app. I found an IONIC plugin for this. I want to make sure it works. The problem is: when I run the app on a device or simulator, the auto-lock is not happening at all.
That's how I run the app on the iOs device:
ionic cordova run ios --device
open platforms/ios in the code
select the device and press the play button
The app is installed and I can play with it. The auto-lock is not happening while the app is opened.
I tried to remove the cable after the app installation with no success. If my app is opened, the lock screen is not displayed.
So, how can I allow the phone to auto-lock while development time?
Removing the debug option in the architecture section of the project helped. need to unplug the device anyway.
I have created a pwa with create react app method. I installed it to home screen of iPhone with iOS 13. Then I made an update to the app and deployed it. But app installed on iPhone home screen does not update. The home screen app updates if I open the app first in Safari. Also the app updates if I clear the cache of Safari.
In Android everything is working like it should be and the home screen installed on Android device updates automatically.
I don't know if I should provide you with some code, if you want to see some, please tell me what. I have found some talk about this and it might be something to do with new lifecycle of pwa/home screen apps updated in iOS 12. But also there was talk that it should be fixed in iOS 13. So I'm not sure where should I start to look the problem.
I am facing a strange problem with my iOS app.
It is written in Objective-C and i use iOS 8.3 on my testdevice (iPhone 4s).
The app uses push notifications.
When I lock my iPhone, I sometimes get the following issue:
Before unlocking the device again, the wlan status symbol in the status bar disappears and when I finally unlock it, the app freezes and I have to restart it (-> The WLAN sign returns and the app works without any problems)
After iOS 8 release, we are getting feedback from some users about our app that whenever users try to start app, operating system navigate it to background. I was able to examine this issue myself and I see that OS does not terminate app or app does not crash. In fact, app appears in background apps menu. Whenever user tries to open the app it closes itself something as if “simulating user's home button touch”. Of course, I’m not doing something like this by code. And this issue only show 100 in 1 and only in iOS 8 devices. It shows any kind of devices from iPhone 4S to 5S.
Have you ever encounter an issue like this?
when I hit the run button in xcode, my app launches on my phone but crashes instantly (no error messages, no console log).
when I click my app icon on my phone, it launches and runs perfectly.
also, it never crashes at all when run in emulator.
this started happening after adding a collection view.
UICollectionView was added in iOS 6, and does not exist on older devices so the app crashes, however you can use something like PSTCollectionView to support older devices.