PayPal iOS App using MPL - Authentication fail - authentication

I'm trying to use PayPal SDK to use it on iOS App, using MPL, like described on here:
https://developer.paypal.com/webapps/developer/docs/classic/mobile/ht_mpl-itemPayment-iOS/
the only changes I made on simple App demo project, is to change the currency, from USD to EUR.
But every time I try to do the login to pay, I receive the message "Login failed, please try again". My login is ok because it works on the web site.
This error occurs on the ENV_SANDBOX and ENV_LIVE also. I'm testing the app on iPAD and also in the simulator.
I really don't know what to do, someone have some idea?

I am having the same problem on Android and I am using MPL version 1.5.5.44. According to the PayPal developer support, some certificates for old library versions have expired recently. The latest versions (both iOS and Android) are available from here:
https://github.com/paypal/sdk-packages/tree/gh-pages/MPL
Hope it helped.

Related

Using Expo's Google authentication integration vs react-native-google-signin

I'm building my first React Native app and I want to have Google signin.
I first went down the path of trying to integrate the library react-native-google-signin - seemed like a promising library! But then very quickly I got mired in problems with my development environment and figuring out Expo development builds. I never quite got it working.
Then I tried Expo's Google authentication integration, and I've gotten that working, at least on web and iOS via Expo. It returns the logged-in user's Google access_token, which I think is all I'm needing (I currently don't need access to any other of the user's Google data).
My main question is: what are the drawbacks or limitations of using Expo's authentication option, or, why would I want to use the react-native-google-signin library despite its much greater added complexity? Is the Expo option going to break when I try to officially turn my app into a native iOS app?

Firebase Database wont be connected to App in TestFlight

Hey there so I just uploaded my first app to App Store Connect. The verification is still pending, but I as the admin got to test the App before that. My Problem is that my Database Firebase won't work with the App version I got from test flight will this be changed when the App is verified?
I will encourage you to look through the Firebase documentation. It has code samples in swift as well as Objective C.
As far as your requirement is concerned, if you are using Realtime Database, you'll do it this way:
[[[_ref child:#"user"] childByAutoId] setValue:#"1"];

React Native Remote Notifications

So what are your experiences with sending remote notifications to RN app from FCM?
I did some research today, tried bunch of tutorials, but most of them didn't work.
So I wanna hear your opinion, which library are you using for this and what guide did you follow?
react-native-push-notification
react-native-fcm
react-native-firebase
react-native-onesignal
I did the connection a few days ago. It is not difficult but it requires a lot of configuration as notification is a native feature. I recommend you the following library that can help you:
React Native FCM
Also take in count the following things:
For ios you need get some certificates from apple.
This guide help with the setup and android part.
Remote notification can't reach iOS emulator since it can't fetch APNS token. Use real device.
I used to react-native-fcm, but now I use react-native-firebase, it is simple to use, just follow the documentation https://rnfirebase.io/docs/v5.x.x/getting-started
just follow the installation tab guide, cloud messaging tab guide, and notification tab, also you can find js code there. for IOS part, you need some extra work to add some certificate to your developer id and add some certificate to your firebase app.

Facebook Login not working if official app's installed

I'm trying to set up Facebook in my android app but I had a problem and even the samples didn't work ! Then I tried again on different devices and I just figured out the samples only work on devices which do not have official facebook app installed. It seemed to me completely illogical so I checked : installing the Facebook App and it wasn't working anymore, deleting it, it worked fine then no issue. So here my question : Why is that and how to fix it when Facebook Official App is already installed in device ?
Looks like you have not added key hash to app dashboard or it is invalid. To properly handle Facebook Login using the Facebook for Android app you will have to add valid key hash to the app dashboard. Have a look at this: https://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/
check 'App Dashboard Configuration' and 'Troubleshooting' sections.

Appcelerator Titanium: How to enable Mobile Web App development?

So I'm getting started using the Appcelerator Titanium Mobile framework. I wanted to try out the ability to deploy a mobile web app. However, I can't find any documentation on it. I just installed Titanium Studio and created a new project, but the "deploy to mobile web" checkbox was disabled. There was also a message that said "incompatible Mobile SDK for the Mobile Web support" even though I have the latest version (1.7.2).
What do I need to do in order to enable this feature and get started using Titanium for mobile web app development?
Update:
I found the link to the Titanium Mobile Web documentation.
Turns out the Mobile Web feature is still in beta, which means it's currently only available to paying customers. So I signed up for the indie subscription since it includes a 30-day free trial. I have tried restarting, signing out and signing back in and Titanium Studio still doesn't give me the option to deploy to Mobile Web. What do I need to do now?
I found some additional information on the Titanium Mobile Web SDK. The reason it doesn't work with Titanium Mobile 1.7.2 is because it doesn't come bundled with Titanium Mobile 1.7.2. You have to download the 1.7.0 RC1 SDK from their Amazon S3 account and manually add it. The link above explains how to do it. I couldn't figure out how to to deploy to an emulator, which kind of defeated the purpose. Also, deploying to Firefox does not work, so don't even try. It only works in Safari and Chrome.