How to implement In-App Purchases Subscription in Flutter?

David

I want to provide auto renewable subscription in my Flutter App for both iOS and Android devices. Users can subscribe for 1 Month.

There is not an officially maintained in-app purchase plugin yet. But there are lots of plugins about In-App Purchases in Flutter.

Which one is the best? How to implement? Are these secure?

awaik

==== UPDATE from 11.03.2020

Hi, I can see this post still reading by people who looking for a method of how to work with subscription in Flutter. During 2019 I made two apps with thousands install where users can buy a renewable subscription on the 2 platforms. Until February 2020 I used for this package from Flutter team https://pub.dev/packages/in_app_purchase, BUT - there is no way to get info about the user to unsubscribe in iOS. This is not the plugin issue, but the iOS approach for the process. We should implement our own backend for security reasons (by the way Google also recommends to do the same, but still left the way to check the state directly from the app).

So, after some researches, I found guys who made backend and plugin and it is free until you have less than 10 000 USD revenue for the month. https://www.revenuecat.com/ https://pub.dev/packages/purchases_flutter

I've implemented this plugin in my apps and it works like a charm. There is some good approaches that allow you to get a subscription state at any point in the app. I'm going to make an example and article, but not sure about the timing.

==== UPDATE from 03.10.2019

I recommend using new package from Flutter team https://pub.dev/packages/in_app_purchase

The example with code is here https://github.com/flutter/plugins/tree/master/packages/in_app_purchase/example

With this plugin I successfully implemented payments and recursive subscriptions to Android and iOS simultaneously. With the old package I had some minor issues.

You can use nice plugin flutter_inapp_purchase

I've used it for the app that I developed and it works well. You can use my example of how to work with subscription - github There is a complete working example - when you run it, you should get the screen

enter image description here

(do not forget to log in to Google play in an emulator or you will get “in-app billing version 3 NOT supported”)

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How to implement Branch SDK in my Flutter app

分類Dev

How to create a promotion code for iOS in-app purchases

分類Dev

How to properly implement math equations (TeX) in Flutter

分類Dev

How implement Rebus subscription / publication between two microservices with copies of DTO located in different assemblies?

分類Dev

Restore already bought in-app-purchases on iPhone?

分類Dev

In-App purchases not working in chrome extension

分類Dev

Should I use in-app purchases in this case?

分類Dev

Automatically canceled android in app purchases, reason "other"

分類Dev

How to implement skipWaiting with Create React App?

分類Dev

How to implement MobX in Create-React-App?

分類Dev

How to handle pending purchases from Google Play

分類Dev

How to synchronize/verify in-app recurring subscriptions with a web server (cross platform subscription)

分類Dev

How to make a phone call from a flutter app

分類Dev

How to protect Flutter app from reverse engineering

分類Dev

How to set my app to landscape mode in Flutter?

分類Dev

How to create GridView of stacked images in Flutter app?

分類Dev

How to change the default font family of a Flutter app

分類Dev

Implement Blockly widget into Flutter

分類Dev

In app purchases using SwifyStoreKit unable to get info about product

分類Dev

In-App Purchase: "Restore Purchases" button on user-bound purchase

分類Dev

When can I add In app purchases ? Google Android Play Store

分類Dev

In app purchases using SwifyStoreKit unable to get info about product

分類Dev

In-app purchases (IAP) in android with BOTH Google and Facebook authentication?

分類Dev

(Swift/iOS) Is it possible to get user purchased items from In app purchases?

分類Dev

How to split Cupertino/Material in Flutter app depending on app platfrom?

分類Dev

How to implement Search Bar like gmail app in android?

分類Dev

how to implement in app purchase ios 10 in objective c

分類Dev

how to implement video and audio chat in ionic or any hybrid app?

分類Dev

How to implement a function like stackoverflow's `add a comment` in Rails' app?

Related 関連記事

  1. 1

    How to implement Branch SDK in my Flutter app

  2. 2

    How to create a promotion code for iOS in-app purchases

  3. 3

    How to properly implement math equations (TeX) in Flutter

  4. 4

    How implement Rebus subscription / publication between two microservices with copies of DTO located in different assemblies?

  5. 5

    Restore already bought in-app-purchases on iPhone?

  6. 6

    In-App purchases not working in chrome extension

  7. 7

    Should I use in-app purchases in this case?

  8. 8

    Automatically canceled android in app purchases, reason "other"

  9. 9

    How to implement skipWaiting with Create React App?

  10. 10

    How to implement MobX in Create-React-App?

  11. 11

    How to handle pending purchases from Google Play

  12. 12

    How to synchronize/verify in-app recurring subscriptions with a web server (cross platform subscription)

  13. 13

    How to make a phone call from a flutter app

  14. 14

    How to protect Flutter app from reverse engineering

  15. 15

    How to set my app to landscape mode in Flutter?

  16. 16

    How to create GridView of stacked images in Flutter app?

  17. 17

    How to change the default font family of a Flutter app

  18. 18

    Implement Blockly widget into Flutter

  19. 19

    In app purchases using SwifyStoreKit unable to get info about product

  20. 20

    In-App Purchase: "Restore Purchases" button on user-bound purchase

  21. 21

    When can I add In app purchases ? Google Android Play Store

  22. 22

    In app purchases using SwifyStoreKit unable to get info about product

  23. 23

    In-app purchases (IAP) in android with BOTH Google and Facebook authentication?

  24. 24

    (Swift/iOS) Is it possible to get user purchased items from In app purchases?

  25. 25

    How to split Cupertino/Material in Flutter app depending on app platfrom?

  26. 26

    How to implement Search Bar like gmail app in android?

  27. 27

    how to implement in app purchase ios 10 in objective c

  28. 28

    how to implement video and audio chat in ionic or any hybrid app?

  29. 29

    How to implement a function like stackoverflow's `add a comment` in Rails' app?

ホットタグ

アーカイブ