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)?
Related
I am building a chat app in Flutter Web, and would like to add a feature for flagging when the user is "Online".
I want to send a bool to Firebase Firestore whenever the user launches and closes the app (for example, when the user launches the Flutter Web URL = true is being sent to Firestore for isOnline flag. And when the user closes the tap = false is being sent to isOnline).
For that, I would need a way to detect the lifecycle of the Flutter Web app, and to check whether the app is currently actively running or not.
Does anyone know what is the best way of doing that?
Thank you!
While you can easily update your firestore whenever a user opens your app (just add it to a point executed on launch, like before the runApp() part in your main method). However, there sadly is no guaranteed way to know, if a user closes your app. It could be force closed via task manager etc., robbing you of the ability to detect it. However, firebase offers the following solution to detect presence, see here.
You could also save a timestamp as the isOnline point and let it timeout. You could update it periodically in your app, giving you not a perfect but maybe a good enough idea if a user is online.
I have this flutter app fully done but I want to add a button that say share when user clicks on this button it share the entire apk to a friend either using Xender or any other sharing medium.
I kno it may not be possible on iOS but I want to do this on flutter Android.
How can this be achieved.
Why don't you upload to apk to any storage hosting then send the link when click share.
Another way is to use Flutter share package , you can take a look at the documentation for more info
I'm building an app where the user can purchase an item. The payment is handled by Stripe and Klarna on a website opened with url_launcher.
My question is how to properly return the user to the app after the purchase is successful. Stripe allows a return_url to be passed which could be a Firebase dynamic link that opens the app. Would this work since the website could possibly have been launched in a in-app browser? Or is it just better to use a WebView and monitor the url for the success one?
Any other thoughts are appreciated.
I think you can solve this using Deep Links.
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?
I have succesfully created a business page and iframe app and had little issues. However I am trying to do the same for another business. I have created the app as before but can not add the app.
Last time to add the app I went to my business page then in the facebook search box I typed the name of my app. I am trying to do the same this time but my app is not appearing.
I created the app a few days ago. What am I missing?
This is something I recently noticed too.
You have to manually go to add the app... use this URL and replace [APP ID] with your app ID
http://www.facebook.com/add.php?api_key=[APP-ID]&pages=1