I have some issue with storing session details in my ios app. I created a webview app. Whenever i close the app after logging in, it logs me out and asks for credentials everytime. This is working fine for my android app. Any fix for this.
Related
Unfortunately it seems IOS 11.3 progressive web apps start completely fresh every time its opened from the home screen. Because of this the user is having to login each time the app is opened, has anyone found a workaround to retain login credentials between app launches ?
I'm developing an iOS app that embeds UberRides feature. However, all of the example codes I can find online is about opening up Uber app after request button is pushed in my own app. I'm wondering if there is a way to tracking the action of user in Uber app so when user confirm his/her ride, my own app will know that action happens and open up again.
This isn't supported, unfortunately. For iOS 9 users however, they are able to go back to your app using the back button link in the status bar after your app launches Uber.
Installed in my iOS device, I have 5 personal apps (that is, developed by myself). Any app is related to a single Facebook app, that manages login for any of those apps. Problem is the following: when I try to login in one of the apps, the SO launches another app. Should any app be related to a different Facebook app?
[update] I think I solved, I found this one: https://developers.facebook.com/docs/ios/troubleshooting#sharedappid
Did you have the redirect url pointing to a app?
Each new app you make needs its own on facebook. It gets it own id and key.
I have created an app that allows a user to login using facebook via the FacebookSDK. I can successfully login while running the app on the iPhone Simulator as an iPhone 5 or 5S (i haven't tried any other devices). But, when I run the app on my iPhone 5 the FBLoginView doesn't work. More specifically, when I tap the view (the 'Log In' button) the color changes to a slightly darker blue to acknowledge that the touch was received, but nothing else happens. Normally, a browser would open and request my Facebook credentials, but that does not happen.
Any ideas on what the problem might be?
FYI, I am using XCode 6 Beta 5.
Update:
I took John's advice in the comments below and uninstalled the Facebook app and I also deleted the OS Facebook account. This worked for me. My app correctly received the callback from Safari. I re-installed the Facebook and tried it again and my app still worked (receiving the callback from the Facebook app).But, when I logged back into the OS Facebook account my app no longer received the callback.
I am currently using the supplied FBLoginView. I think from this point I will implement a custom login view for Facebook so that I can apply breakpoints on each of the functions.
I am wondering at this point if this isn't an issue with the Beta version of iOS 8. I am not entirely convinced that it is because I have been unable to find mention of other developers having this same issue. Just a thought
If you're using the Facebook SDK, login events are handled differently depending on the environment. You may want to check all callbacks as the Facebook SDK can use the settings fb credentials, pages app, Facebook app, or web view to log in...
The issues cleared themselves up. They appear to have been related to the beta release of Xcode or the Swift language.
I am using Facebook SDK 3.13 for iOS in one of my apps. Everything works like a charm on any simulator. However there is a problem with Facebook Login on device.
When I click "Facebook Login" button, a Safari window opens. While it is loading facebook.com, my app -running in the background- shuts down. During debugging, XCode clarifies this situation with an error tells the application is "Terminated due to memory pressure". Therefore session handler never calls any completion method (and never fires an exception) and no session is opened. So when I close Safari window, my app runs from scratch - does not continue from where was it.
How may I resolve this issue?