Adding subscriptions to your Android app. Part 2. Busy work

Table of contents

GitHub code
Before we start
The Busy Work
The parts I struggled with

My app on the Google Playstore

HERE

GitHub code

HERE

Before we start

Before you can read any further, you mus…

Table of contents

  1. GitHub code
  2. Before we start
  3. The Busy Work
  4. The parts I struggled with

My app on the Google Playstore

GitHub code

Before we start

  • Before you can read any further, you must have done the following 2 things

1) Implement the Google billing library : The library can be found HERE. You need to add this library to your gradle.build file.

2) Release you app to the play store : Once you have released you app to the google play store with the google billing library, you can now start creating subscriptions

The Busy Work

  • This section will involve you reading a lot of documentation and setting up a lot of internal google features. The specific documentation which is needed can be found HERE

  • Besides there being a lot of reading. The documenation,HERE, is actually very straightforward and relatively easy to follow. If you ever feel lost or confused, don’t worry, I felt that too. There might of even been a few times where I stated,you $*****5* that makes no $@*---- sense, why the @#$$** would you do that?. Just make sure to take a break, keep reading and don’t be afraid to start over.

The parts I struggled with

  • The first part I struggled with was the Setup Cloud Pub/Sub. I found there to be too many guides and external links with no straight forward path. At times I even felt the documentation was repeating itself. To overcome this I used the recommended Quickstart guide and then I just ignored the clean up section of the guide.

  • The second part I struggled with was the Enable Real-time developer notifications for your app. No matter what I did I could not get the Test Message to send to the cloud pub/sub I had set up earlier. The answer was, to give the proper service account Pub/Sub Publisher access to the topic. The proper service account is google-play-developer-notifications@system.gserviceaccount.com.

  • I know this guide was short and is not the walk through you were probably looking for. But I do believe the documentation,HERE, really does do a great job at explaining how to get everything working.

  • The next part in the series is where we will be integrating the code into our app.

Conclusion

  • Thank you for taking the time out of your day to read this blog post of mine. If you have any questions or concerns please comment below or reach out to me on Twitter.

Print Share Comment Cite Upload Translate
APA
Tristan Elliott | Sciencx (2024-03-29T00:39:17+00:00) » Adding subscriptions to your Android app. Part 2. Busy work. Retrieved from https://www.scien.cx/2023/03/10/adding-subscriptions-to-your-android-app-part-2-busy-work/.
MLA
" » Adding subscriptions to your Android app. Part 2. Busy work." Tristan Elliott | Sciencx - Friday March 10, 2023, https://www.scien.cx/2023/03/10/adding-subscriptions-to-your-android-app-part-2-busy-work/
HARVARD
Tristan Elliott | Sciencx Friday March 10, 2023 » Adding subscriptions to your Android app. Part 2. Busy work., viewed 2024-03-29T00:39:17+00:00,<https://www.scien.cx/2023/03/10/adding-subscriptions-to-your-android-app-part-2-busy-work/>
VANCOUVER
Tristan Elliott | Sciencx - » Adding subscriptions to your Android app. Part 2. Busy work. [Internet]. [Accessed 2024-03-29T00:39:17+00:00]. Available from: https://www.scien.cx/2023/03/10/adding-subscriptions-to-your-android-app-part-2-busy-work/
CHICAGO
" » Adding subscriptions to your Android app. Part 2. Busy work." Tristan Elliott | Sciencx - Accessed 2024-03-29T00:39:17+00:00. https://www.scien.cx/2023/03/10/adding-subscriptions-to-your-android-app-part-2-busy-work/
IEEE
" » Adding subscriptions to your Android app. Part 2. Busy work." Tristan Elliott | Sciencx [Online]. Available: https://www.scien.cx/2023/03/10/adding-subscriptions-to-your-android-app-part-2-busy-work/. [Accessed: 2024-03-29T00:39:17+00:00]
rf:citation
» Adding subscriptions to your Android app. Part 2. Busy work | Tristan Elliott | Sciencx | https://www.scien.cx/2023/03/10/adding-subscriptions-to-your-android-app-part-2-busy-work/ | 2024-03-29T00:39:17+00:00
https://github.com/addpipe/simple-recorderjs-demo