Is it possible to provide a google pay scratch card for using your app? - google-api-client

Suppose I created an App, and every time the user completes an action on my app, they get a scratch card (but in google pay). Is such a support provided by google pay?

Related

How to access an intent:// from flutter webview

I have a subscription form online on a website.
Now I am trying to build a mobile app with flutter.
I want to give my app users the possibility to subscribe as well.
But I don't want to do the form validation in the app, since it can change from time to time.
What I did is create a webview widget in flutter, this worked, untill the very last step.
The last step for a subscription is pay for it.
This can be done with a banking app on the phone, but when I click the link to the banking app from the webview, it throws an error:
net::ERR_UNKNOWN_URL_SCHEME
The link it's trying to reach is: intent://bankieren.ideal.ing.nl/..........
So the problem seems to me this intent...
Is there a way I can make this intent work in the webview?
If not, is there a way I can 'mirror' my web-form so I don't have to validate on 2 different locations (web and app)?

How to handle Google play Redeem Promo code in Flutter?

I'm developing a free Flutter app (Android and iOS), that offers premium content (in-app subscription) using official Flutter in-app-purchase plugin - latest version 2.0.1.
We'd like to use Google Play Promo codes to give premium content for free (with no extra charges) to some users.
What I've tried so far:
Promo codes for SUBSCRIPTION: They only give a longer free trial (and charge user afterwards if they don't cancel). The Promo codes worked fine but this is not really suitable for us because it can charge users.
Promo codes for PRODUCT: A friend suggested to create an in-app Product that unlocks premium content and promo code would give this product for free. I've generated promo codes for it and started testing it through Internal testing. The Google Play documentation says it's possible to Redeem the code from A) Google Play or B) from your app.
Problems with both options:
A) Google play: When we Redeem the code from Google Play, the code is accepted and message is displayed saying the product was applied. However:
we don't get any purchase notification in our backend system (there was no received message in play_billing Pub sub topic where we usually receive purchase notifications from Google Play).
The purchase is also not visible in Google Play Developer Console > Orders.
When we try to buy the product from the app (for same Google account) we get Google in-app purchase dialog with Error: You already own this item. We tried clearing Google play app's cache and data but that didn't help.
there is no method in Flutter in-app-purchase plugin that we can use to query if user has already purchased the product (and just unlock the premium content then)
B) From the app: I don't think this is supported by official Flutter in-app-purchase plugin. The plugin documentation only mentions Apple store Promo codes. Also when we press the button to buy the product the Google in-app purchase dialog doesn't contain any option to use Promo code. And no, I didn't use Licence testing (test card) but my real private credit card.
I feel so stuck!!! Any help is much appreciated! I need to start a promotion campaign next week to get as many user feedback as possible (to apply for funding).
-------UPDATE-----------------------
Thanks to another developer we were able to identify the reason why "Redeem code" option didn't appear in the billing dialog.
B) From the app: The Redeem code option in the billing bottom-sheet dialog appears only
when in production mode
for new users (it's not visible if the user applied the one-time code before or if the user is a tester user)

I want an android app that sync with watsapp or SMS messenger and automatically response to the user/client

I am working for a non profit organisation and Our Project needs an android app (to develop a brief intervention that uses mobile text/voice messaging to address
problematic drinking among adolescents.) This app should woks as a bidirectional and better if it collaborate with watsapp. so that we will get responses quickly via watsapp and automatically our apps should tell questions base on
his/her answer. Also it should store conversation data into the database.
You can start from the friendly chat app based on Firebase. Take a look here https://codelabs.developers.google.com/codelabs/firebase-android/#0 . For the "auto reply" functionality you will have to write your own cloud function. Read some docs about that

How to add application to facebook as a developer

I want to know how to create/add an application in Facebook as a developer?
I tried from Facebook developer, but after click create new app, I have given app name and name space, but it shows one pop regarding you can't create app because of no authentication. so I can't move up. I don't know how to overcome this?
Is there any way to add an application to Facebook?
You'll have to verify your Facebook account as a developers account.
You can read about it here - https://www.facebook.com/help/?faq=167551763306531
Basically there are two options. You can verify your account
via mobile phone
by adding a credit card to your account details.
Don't worry - they do not charge your credit card - it is only to be able to track back applications to "real" people so that they can be held accountable for "bad" apps that violate Facebook's terms of service...

iPhone native app + integrate payment / purchase to buy products

I am developing a native iPhone app, where end user can purchase calling cards of different rates.
The problem I am facing is that, I don't what can be several options to integrate payment / online purchase feature and they can be integrated.
Few sites I have read that, you can implement this using In App Purchase, but there using In App purchase Apple will take 30% of payment. Also, I need to register each of my product with Apple -> iTunes Connect -> Manage In App Purchase, which is again not a feasible thing to do. As my products would have different rates and they get updated regularly, so every time I have make changes in iTunes Connect.
Another option can be to integrate Paypal for purchases but, here I have open the web interface (either safari browser or UIWebView) from native app when it comes to make payment. Problem here is that, opening the web interface would fine, but I need to come to native app and same point in the app from where I did the payment. Also, I don't have prior experience of integrating Paypal.
Please guide me to find the best suitable option to integrate payment feature in native app.
You definitely need to read the Apple-iOS-Standard-Agreement, to find answers about InAppPurchase:
Attachment-2 to the iOS-Standard-Agreement Feb. 15th 2011, 1.1, 2.1, 2.2:
... this makes clear that you are not allowed to use InAppPurchase for selling calling cards. InAppPurchase is only allowed for content & functionality you provide the user within your app.
AS InAppPurchase is not the way you can go, you may use the Mobile Payments Library for iOS, PayPal release last year. The lib is well documented and ships with sample code:
https://www.x.com/community/ppx/xspaces/mobile/mep