Comments (5)
Hi @vongrad
Wait for the subscription to expire and then reactivate it
I wonder how we re-activate the subscription that has been canceled? When I click on Resubscribe
button from https://play.google.com/store/account/subscriptions, it says: "Can't resubscribe"
from flutter.
How long did you wait before re-subscribing? I am able to click on the re-subscribe few minutes after the subscription expires in Google Play and it goes through without any issues.
The reason why this is important for me is that if user subscribes from Google Play after the subscription expires, my backend receives Google RTDN notification with type "purchase", but it does not contain "obfuscatedAccountId" that I specified when initially creating the subscription to pair it with a user - I guess its because its considered as a completely new purchase even the Google Play button says re-subscribe.
At this point, my backend has no idea who purchased the subscription because of the empty "obfuscatedAccountId", so in order to pair it, I need my app to be able to get notified about subscription purchases on startup, grab the purchaseToken along with currently logged in user and send it to my backend to pair the subscription with user.
from flutter.
How long did you wait before re-subscribing?
5 minutes for my test subscription period of 1 week (https://developer.android.com/google/play/billing/test#testing-subscriptions)
Also, could you share how you Close your app
? Do you just bring app to the background or kill app instance from Recent app
menu?
from flutter.
That is strange, I test it exactly the same way. I kill the app from the Recent app
menu, so its not running at all.
from flutter.
Could you check this with package's example?
Android app receives the new subscription purchase on the purchaseStream
When you re-open app, how do you debug this? (or just set a debug point inside the stream listener?)
from flutter.
Related Issues (20)
- ListWheelScrollView: whole app starts flickering HOT 2
- Engine CI prod jobs stuck in queueing. HOT 8
- [go_router] [WEB] pathParameters not working with deeplink HOT 3
- [test_runner] Consolidate runDartTest, runFlutterTest and runFlutterWebTest into a single function HOT 4
- AppBar shape disappears on AppBar elevation change when scrolling HOT 8
- [test_runner] generate logs into FLUTTER_LOGS_DIR
- Crashing bug on Android Emulator HOT 12
- Color of Japanese text conversion box is invisible HOT 5
- Intent to deprecate and remove the HTML renderer in Flutter Web HOT 36
- Android Simulator opening properly but getting stuck on runnnig of my main dart file!! HOT 5
- Remove crop and rotation tests from `scenario_app` HOT 1
- [camera_android_camerax] Cannot set imageFormatGroup to ImageFormatGroup.nv21 HOT 17
- [local_auth] How to hide Close or Cancel button HOT 1
- src/test/flutter_tester_device.dart `!_gotProcessVmServiceUri.isCompleted` asserts when running /dev/devicelab tests
- Purshase Stream is not fired after a successful non consumable purchase in iOS. Instead the bottom sheet to purchase keeps popping up again. HOT 2
- couldn't find "libflutter.so" HOT 3
- [local_auth] Add ability to hide Close or Cancel button HOT 3
- Shadow animation using Impeller causing rendering issues (regression) HOT 7
- Update M3 sliders to new style HOT 1
- [image_picker] imagePicker.pickVideo(source: ImageSource.camera) returns null after taking a video on Android 33 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.