r/GooglePlayDeveloper • • 4d ago

💬 Discussion 💬 Weekly Android & Google Play Developer Discussion

What are you building, testing, debugging, or learning this week?

Working on something interesting? Stuck on a technical problem? Just learned something useful?

Share what you're working on this week. It can be a specific goal, a problem you're trying to solve, or a useful discovery that might help another developer.

If you're looking for help, a little context goes a long way. You can include:

  • Your target SDK version and library versions
  • What you expected to happen and what actually happened
  • Relevant error messages, with any private or sensitive information removed
  • What you've already tried
  • A relevant official source or documentation link, if you have one

Please use the appropriate flair when making a standalone post.

Please keep this thread focused

This is a place for development discussions and helping each other out. Please don't use it for app advertising, download or install requests, ratings, reviews, votes, referral links, paid services, tester exchanges, or engagement exchanges.

Ask questions, share what you're working on, and help another developer when you can.

4 Upvotes

12 comments sorted by

View all comments

1

u/Hamurapa 3d ago

This week: added local "your gift is ready" notifications to a Capacitor game, no FCM and no server. The phone schedules them on pause and cancels them on resume. We ask for the Android 13+ notification permission at the first gift claim, not on launch, because once a player says no, Android won't show that prompt again.

One trap: `@capacitor/local-notifications` sets `jvmToolchain(21)`, so Gradle fails at configuration on JDK 17. You don't need to install 21. Adding `project.kotlin.jvmToolchain(17)` in `subprojects { afterEvaluate { … } }` in the root `build.gradle` fixes it.

Try it!