Skip to content

About

Android plugins for Capacitor 8: Play Games Services v2, UMP consent with Consent Mode v2, and reportFullyDrawn.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Capacitor plugins by byVik

Small Android plugins for Capacitor 8, extracted from a game in production on Google Play.

Package What it does
@byvik/capacitor-play-games Google Play Games Services v2: sign-in, leaderboards, achievements and cloud saved games.
@byvik/capacitor-ump-consent Google UMP consent form, with the answer mapped to Consent Mode v2. No AdMob plugin required.
@byvik/capacitor-fully-drawn Reports time to full display to Android vitals (Activity.reportFullyDrawn()).

All three are Android only. Each package has its own README with setup, usage and the full API.

Development

Every package is self-contained; there is no workspace to bootstrap.

cd packages/play-games
npm install
npm run build     # TypeScript, bundles and the API section of the README
npm run lint
npm run fmt

To compile the Android side, with ANDROID_HOME set and JDK 21:

cd android
./gradlew build

Publishing

From the package folder, after bumping version in its package.json:

npm publish

prepublishOnly builds first, and publishConfig already marks the scoped packages as public.

License

MIT

About

Android plugins for Capacitor 8: Play Games Services v2, UMP consent with Consent Mode v2, and reportFullyDrawn.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages