Transfer data from JSONStore between 2 MobileFirst applications - ibm-mobilefirst

I would like to ask how to transfer data between 2 MobileFirst applications. Do Mobilefirst have any API for transfer data between 2 encrypted JSONStore?
Or
We have to use native codes for data transfer between apps method such as
IOS:App Extension or Inter-App Communication by URL
Android: Use Intent Share Action
Here is our scenario:
Client open AppA and tap on a button to get data from AppB. It prompt login of AppB(initialize JSONStore) and choose data from AppB then click OK to transfer data to AppA.
Do Mobilefirst have any API for transfer data to each other?

To share data between applications you could use Simple Data Sharing.
https://www-01.ibm.com/support/knowledgecenter/SSHSCD_7.0.0/com.ibm.worklight.dev.doc/devref/c_simple_data_sharing_terminology.html
You will need to review the doucment and adjust your applications accordingly in order to be able to utilize it.
Note though that I do not believe you can transfer JSONStore data as-is. You will need to take it out of the JSONStore, move it, and add it to the other JSONStore.

Related

Making the react native app stripe to live mode

I am working on react native app and the app is using the test mode stripe and I am also making the test stripe to live,
I have a simple question, Is there anything I have to change while making the stripe to live mode,
I changed the switch to live in the stripe dashboard.
I changed the key and secret in app and server.
Do I also have to change something else?
And what are these and why and how are they used and where can I find these in the dashboard.
merchantIdentifier: 'merchant.com.stripe.react.native',
urlScheme: 'stripe-example',
The testmode toggle in the Stripe dashboard has no impact on what mode your integration is operating in, it only changes what data you're viewing in the dashboard. When the toggle is on, the Stripe dashboard will display the testmode data for your account, and when it is off you will see livemode data.
The secret and publishable key that you provide dictate what mode your integration will operate in, and are likely the only values that you need to change. source
The merchantIdentifier is not a value that you find, but rather is one that you set when you're registering for an Apple Merchant ID. It is an optional parameter that you can omit if you're not planning to accept Apple Pay payments. source
urlScheme is an optional parameter that is only needed if you're planning to manually handle the 3DS authentication flow rather than rely on the pre-built functionality that Stripe provides. source

How to fill in Google Play Data Safety form taking into account Firebase Analytics and Firebase Crashlytics libraries?

I have an app which does not push any data to any server except that it uses the Firebase Analytics and Firebase Crashlytics libraries to submit analytics and crash reports to my Firebase account. My use of both of these libraries is bare minimum.
I submit analytics events as follows:
FirebaseAnalytics.getInstance(applicationContext).logEvent("SomeEvent", bundle)
I submit exceptions as follows:
FirebaseCrashlytics.getInstance().recordException(exception)
Neither the bundles submitted via the FirebaseAnalytics instance nor the exceptions submitted via the FirebaseCrashlytics instance contain any of the user's personal data or any data that identifies the user. The exceptions just convey that a certain area of the application has failed and the bundles just convey that a certain button was tapped without linking in any way to the user.
With this in mind, how do I answer the following "Data collection and security" questions in the Google Play Data Safety form:
Does your app collect or share any of the required user data types? [Yes/No]
Is all of the user data collected by your app encrypted in transit? [Yes/No]
Do you provide a way for users to request that their data is deleted? [Yes/No]
There is a repo with all required information required for the Data safety form - link
The same applies to firebase as to admob
Does your app collect or share any of the required user data types?
Yes
Is all of the user data collected by your app encrypted in transit? Yes
Do you provide a way for users to request that their
data is deleted? No
Location > Approximate location
App activity > Page views and taps in app
App info and performance > Crash logs, Diagnostics
Device or other identifiers > Device or other identifiers
How do I know this for sure?
Because under device and other identifiers the extra info states:
Identifiers that relate to an individual device, browser or app. For
example, an IMEI number, MAC address, Widevine device ID, Firebase
installation ID or advertising identifier.
Which indicates that they do consider Firebase to be collecting data

How to send test push notification with custom data from firebase console?

How do we send a test push notification to my android emulator with custom data? I have FCM Token and it should directly come up on my emulator only... I don't want to send a notification to all the app users.
Is there any way to do this from firebase cloud messageing so, I can test with my data.
Yes, Sure you can test it through printing the device token
FCM.getFCMToken().then(token => {
console.log(token)
});
Then take the token and go to the cloud messaging section and you just set the FCM token in test message like the picture below:
Update
the new Firebase interface does not provides a direct way to test cloud messaging with data at the moment. However you have two options: either you create a certain subject and subscribe to it like the following code
FCM.subscribeToTopic("/topics/testTopic");
and then in the target section you can target topic testTopic (This may require time to confirm a new subject)
Or you can do this programming using Firebase admin, you can follow this tutorial:
https://medium.com/android-school/test-fcm-notification-with-postman-f91ba08aacc3
Hopefully this answer your question

Can I control the list of chargeable connections in the IPP inside an Intuit App Center App?

I am developing an Intuit App Center app using the V3 SDK written in vb.net.
Is it possible to get/control the list of connected users that is listed in the Reports section of the Manage My Apps area in the Intuit Partner Platform? Specifically, the area where you view your connections and are able to disconnect users so you don't get charged for that connection.
I would like to be able to control that list from within my application for billing purposes. I have heard that it is possible to manipulate the list programmatically but I'm unsure how to do it.
This should definitely be do-able, but there's not a specific API for it.
There are really 3 components to tracking this information:
Have they EVER connected - you'll know this already because if they connected they will have gone through the OAuth process on your website and you'll have a token for them.
Are they connected NOW - you can test this by making an OAuth request to any of Intuit's services - if you get back a successful response, you know they are currently connected, vs. if you get back a 401 error you know the token is expired/no longer good.
Disconnecting them - you can choose to explicitly disconnect a user (and thus no longer get charged for their usage) by using the disconnect API call.
There is no billing API available.
You need to check it from the appcenter.
Ref - https://developer.intuit.com/docs/0025_quickbooksapi/0010_getting_started/0050_managing_your_app/connection_report
Thanks

Building a GPS Tracking Web System

I'd like to develop a tracking system using an API of course (like the famous Orange API).
the idea is simple:
I send a SMS (from my Web interface) to the person i want to track
The person's mobile terminal (GPS like this) send me back automatically
the coordinates by SMS.
The sent information are displayed on the user's web interface.
The questions are simple:
How the terminal can send automatically the response?
How to indicate in the message that the information is for "user4655"?
How to make connection between the information and the database?
Thanks,
Regards.
* How the terminal can send automatically the response?
Ans: You set the gateway and the time intervals you want the device to send the sms to on the device itself.
* How to indicate in the message that the information is for "user4655"?
Ans: The gateway you use will have the API to determine that the number it is sent from. The device will use a registered phone number from either a sim or enabled by one of those cell providers.
* How to make connection between the information and the database?
Ans: I dont understand this. But I'm guessing you will have a database to keep track of the user data. You'll just probably need another table that is a child of the user, which has a list of the data and the time they came in.