GPS not getting user location in iphone - ios6

I developed GPS app. Its an background running app. I used Xcode 4.5 with ios 6 for it.I am getting the data but some times it shows me an alert "Failed to get your location" while running app on ios device. I checked another location app on device but it never shows me like this..

Related

ReactPlayer required two clickes to start the video on iPad and iPhone

I have implemented a React Player. On iPad & iPhone once I click over the start button the video starts and then immediately pauses. So, another click over the start button is needed.
later on, I've got the following error:
{"message":"The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.","name":"NotAllowedError","method":"play"}
Note: it works well in windows.

react pwa firebase notification not working in android

i'm using firebase for my react PWA push notification , I've got everything setup for web app firebase push notification. when I try requesting a notification to desktop it works perfectly but on android devices when I send notification, event hough Postman gives success and message ID and etc but nothing shows on the screen neither in use, nor in background.
Not saying this is the answer in your case but, I had the same problem (notifications worked on desktop and IOS devices but not on Android). My problem was that I had notifications turned off. On your Android phone or tablet, open the Chrome app and try this.
To the right of the address bar, tap More. Settings. List item
Tap SiteSettings. Notifications.
At the top, turn the setting on or off.

Understanding Local Notification in Codename one

I implemented a local notification test per this example https://www.codenameone.com/blog/local-notifications.html
I have the following two questions:
1) can I test local notifications from CN1 simulator. In the link above, I see a local notification test screenshot using the iPhone 6 simulator. Is there a way to force the app to run in background form the simulator in CN1?
2) If a local notification is sent when the app is running in foreground, I understand that the notification will not fire. Is the message lost in this case or is it queued somewhere?
Currently you can only test this on the device, it will work in the native simulator for iOS as you saw in the screeshot. You can run on the native iOS simulator using a Mac and include source.
The message would be lost if you fire in the foreground on iOS as it's the assumption that this is something you can notify within your app more effectively. You can determine if your app is in the foreground using the Display.isMinimized() method. In the foreground case you can use a tool like ToastBar to show a notification.

MPVolumeView not showing audio routes on iOS 11

My app displays MPVolumeView button. When no earphone or bluetooth headset is not connected, clicking on this button shows two options. iPhone and iPhone speaker (for speaker and ear piece). This was perfectly fine till iOS 10. But on iOS 11, this button is disabled. It shows available routes only when connected to wireless headset.
I do not see any change or deprecated APIs in MPVolumeView. Anyone else seeing this issue?
Also a thing to note here is I still see old volume control indicator while I read about volume control indicator designed differently on iOS 11.
Figured out that I need to use AVRoutePickerView on iOS 11. This offers audio route options and also volume slider.

Randomly missing ESI content on tablet and mobile devices using Symfony2 and varnish

I have a weird issue where some content included via Edge Side Include is randomly missing. Its a menu wrapped in a header tag. Sometimes it displays in the browser sometimes its missing.
A few notes:
1) This only happens on mobile and tablet devices. I have been able to reproduce the error on an ipad, blackberry torch and an android phone (Samsung galaxy s3) using the default android browser, firefox and chrome for android.
2) I installed the Android SDK for debugging but received no errors. The only thing I found was everytime the header was missing there were also no cookies set which is odd. And then when the header was displayed there were cookies set.
3) The problem can be rectified by clearing all web data in the browser (cookies, cache etc).
The application is written in Symfony2.1
The reverse proxy server is Varnish
Any ideas?

Resources