Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
379 views
in Technique[技术] by (71.8m points)

android - Android-Google Play结算:在应用内订阅更新中添加通知(Android - Google Play Billing : Adding notifications on In-App Subscription updates)

What I have accomplished :

(我完成了什么:)

Google Play billing works and I am able to purchase a subscription successfully.

(Google Play结算有效,我可以成功购买订阅。)

What I want :

(我想要的是 :)

Now I want to add a notification feature every time the state of the subscription changes (ie. Renewal, Cancellation, etc.) Since subscriptions auto renews, I would like to notify the user every time it happens.

(现在,我想在每次订阅状态更改时(例如,续订,取消等)添加通知功能。由于订阅会自动续订,因此我想在每次发生时通知用户。)

My problem :

(我的问题 :)

I know how to make a simple notification, but my problem is when.

(我知道如何发出简单通知,但是我的问题是何时。)

How do I retrieve when the subscription starts (or renewal date), when it ends (or next renewal date).

(如何检索订阅何时开始(或续订日期),订阅何时结束(或下一个续订日期)。)

And how do I send the notification?

(以及如何发送通知?)

Do I start a background service?

(我要启动后台服务吗?)

I do not have a back end to implement the Google Cloud Pub/Sub

(我没有后端来实现Google Cloud Pub / Sub)

  ask by Expo Speta translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...