Connecting crypto wallet apps with 3rd party apps - cryptography

Is there any current method to connect a crypto wallet ( Android app) like metamask with another crypto app (Android)?
If I click connect wallet ( metamask) on my crypto based Android dapp then it must automatically open the metamask app and prompt authentication to connect wallet for transaction

wallet connect's dapp library https://www.npmjs.com/package/#walletconnect/react-native-dapp can be used to connect dApp with metamask wallet (List of wallets available on current device & which are supported by wallet connect will be displayed)

Related

Linking payment api for hosting

Is there any api which gives transaction data to authenticate the payment through qr code of upi
Note: paytm, google and other api give test api keys but for production api registration is important
I don't need payment gateway I just need transaction id and amount to verify payment in my mern stack web application
I am looking for source code of free apis for my web application using react express node js and mongodb

FCM get registration token via robot framework

I want to get generated registration token which generated by a client such as (Web JS, Android/IOS App...) via robot todo automation testing
I'm thinking to use mountebank to add JS SDK but not simple because related to grant notification permission issue (It's required to able to generate registration token)
Anybody have an idea to get that token via robot please share
Thanks in advance!!!
What is FCM?
Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably send messages at no cost.
Using FCM, you can notify a client app that new email or other data is available to sync. You can send notification messages to drive user re-engagement and retention. For use cases such as instant messaging, a message can transfer a payload of up to 4KB to a client app.
Using deprecated Google Cloud Messaging APIs? Learn more about how to migrate to FCM.
https://firebase.google.com/docs/cloud-messaging

How to get a APNS token from an existing FCM Token?

We've been using Firebase Messaging with Android and iOS for over a year. Our React Native app currently sends the FCM token to our server for persistence.
We're are adding Braze to handle emails and push. They support Firebase Messaging for Android apps, however for iOS they will only talk to the APNS directly ( not through firebase as we do now ).
Is there a way for us to retrieve the APNS tokens from our saved FCM tokens?
Moving forward we can retrieve the APNS tokens using the method lined out here ( haven't tested ) How to convert a FCM token to APNS token?. However that appears to be a client side solution, we want to support push for those users who will not open the app before we need to send a push.
We went through the Firebase Admin Rest API, but it doesn't appear to have an endpoint that will allow us to convert. Although it is our first time going through them so we may have miss interpreted the documentation.

Why firebase is needed for android notifications along with third party notifications provider such as OneSignal, Pubnub & pusher?

I'm working on react native push notifications. i'm looking for some answers before i make a purchase to any third party notification provider
Why do third party notifications providers such as OneSignal, Pusher & PubNub are based on Firebase Cloud Messaging?
Can't they send notifications independently without relying on Firebase. why pay more to third party providers when FCM does the work for free?
Firebase is a Brand of Services
First, Firebase is a brand that encompasses more than just 1 thing. For example, there is Firebase the realtime database, and there is FCM (Firebase Cloud Messaging) which is the current incarnation of GCM (Google Cloud Messaging) which came from the original product, C2DM (Cloud to Device Messaging).
PubNub and others are push gateway providers
Second, third party realtime messaging services are not push notification services, rather they offer push notification gateways to the push services: APNS for iOS and FCM for Android.
PubNub Realtime Messaging & Mobile Push Notifications
In PubNub's case (my employer), we provide a realtime messaging service (publish, subscribe and much more) and if you provide a valid APNS and/or FCM payload, we will not only deliver that realtime message to active subscribers, we will also send a mobile push notification to the devices that are properly registered for them on that channel you published the message to. This allows the message to be delivered when the app on the device is either not active (background) or not running and therefore, no active connection to PubNub unless it is running in a background service). Now you can have an active connection to PubNub in the background with proper implementation and permissions from the owner of the device (easier on Android than on iOS which also has a review process that rejects apps that don't qualify as valid background service apps).
For Your Consideration
If you did not use a service such as PubNub or one of the other realtime messaging vendors or a push notification specific service like Urban Airship, you would have to implement your own server-based push notification service which is possible but might be more work than you would expect especially if it needs to scale, be secure, robust, etc.
The real question you should ask is do you need realtime messaging in your app or just push notifications and to what level of scalability where it is worth paying a third party for all that goodness.

Direct payment using PayPal Express Checkout library for iOS

I have been using paypal express checkout library to purchase some items from iPhone application which I developed. By using MECL (Mobile Express checkout library), Paypal will be asking the user to enter the credentials of his/her account. What if the users dont have an account in Paypal. So, In this regard, I would like to introduce "Direct payment" using credit/debit card apart from login approach.
So, how can I update my MECL which supports for Direct Payment also.
From the App Store Guidelines:
11.2
Apps utilizing a system other than the In-App Purchase API (IAP) to purchase content, functionality, or services in an App will be rejected
11.3
Apps using IAP to purchase physical goods or goods and services used outside of the application will be rejected
is your app for jail broken phones? If not you will not get your app through review.