{"_id":"@azerion/cordova-plugin-google-play-services","_rev":"12-86d03db61820d72674eba82d42786212","name":"@azerion/cordova-plugin-google-play-services","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@azerion/cordova-plugin-google-play-services","version":"0.1.0","keywords":["ecosystem:cordova","cordova-android"],"author":{"name":"Azerion"},"license":"MIT","_id":"@azerion/cordova-plugin-google-play-services@0.1.0","maintainers":[{"name":"zbart","email":"b.smallenburg@azerion.com"},{"name":"florisdh","email":"florisdh@gmail.com"},{"name":"fbrq","email":"fabrique@orangegames.com"},{"name":"alebles","email":"a.bles@orangegames.com"}],"contributors":[{"name":"Ale Bles","email":"a.bles@azerion.com"}],"homepage":"https://github.com/azerion/cordova-google-play-servcies#README.md","bugs":{"url":"https://github.com/azerion/cordova-google-play-servcies/issues"},"dist":{"shasum":"87e4840f4a3dc316a5b76117dbe1686f6a959fd0","tarball":"https://registry.npmjs.org/@azerion/cordova-plugin-google-play-services/-/cordova-plugin-google-play-services-0.1.0.tgz","fileCount":12,"integrity":"sha512-MnwNiuimCr8Fuqq8LbIgeLG70xFaGO9BWP4X3Td5KEIaVhpQ0R4TTkwEvm7iiNsX0ZtgtnhqBJdJpa7QCAyLqg==","signatures":[{"sig":"MEUCIQDa4/cZ6eAqhOukE1PjzvM6cs583M/ZsJOqXZfSjGTofAIgMxxIrsstZ2BhZ33cDFvwWqfaI8ZxgJd3P6Hcw6fK5lQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5a75CRA9TVsSAnZWagAA7ccP/jXus/69aXcOQWgjNf87\nUC/ifyBhoGrTvsZ+rZbC/WnhwDgSINggMm10Z7PuUY1kAz4EnBQ89GoO67WB\n19aw5lRkNNRj8uvMqmSt5UNomJX6CaoHwJ3bF5Psz3LRCDsC7uPKg73zc756\n562Vsy5TEz/N4OwapGTiqylBOvV/QV6k2UgPAYfVAGSuLT1D4uGUZWZONqTd\numEgR9By1x8pZJ4iZn3PGHMbo4x0SdxlN4mq/7BJY3fbucSmO7qc4YoTti97\nWDOqMPbtbgr8q2Hfo1vc955aSFwa4eAbkSmngLoSeTiasGOB+b5vxkchFxIN\nJERA3WBpCr3J2mjxBb2AjkirFVIDG8ossrj/CYk07bl/n3OID8/qHh3Nqk5V\nRymCTQtb51S3KqMHkq/i2d4oNcbKX0qfewGdu2RLkrfqlSXTX5Rk3UJH0HmA\nnNtRK9vy3HUBxqdo5sfTRYcuRAwfnyahZmN5QTPu/X6lnpsMBtCGb/x4Ci2d\nXuYCNRpuO3RXW2nlO2YCfMIsXw+XvOlJajDlHqg6i65gFdBWYcOWyZyv7NQJ\nsoIM6Wl6qE+nqW0JWS+Da/vp/AVnll/6N2CdokAnYbiulGUxKlmw5iCv0Xoi\nU7ozovtxYMM3Jghl4p+84uo5UUNToBXAAkkj7n7BiZ3H4Z9LtuubQj+rsapQ\nMyAV\r\n=4tXZ\r\n-----END PGP SIGNATURE-----\r\n"},"types":"./types/index.d.ts","cordova":{"id":"cordova-plugin-google-play-services","platforms":["android"]},"gitHead":"0fd9ba0ab87447fc81c634c0972bde5b74f32d93","scripts":{"build":"rollup -c rollup.config.ts","start":"rollup -c rollup.config.ts -w"},"_npmUser":{"name":"alebles","email":"a.bles@orangegames.com"},"repository":{"url":"git+ssh://git@github.com/azerion/cordova-google-play-servcies.git","type":"git"},"_npmVersion":"6.9.0","description":"Cordova wrapper fo Google Play Services","directories":{},"_nodeVersion":"8.16.0","dependencies":{"eventemitter3":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^0.67.0","typescript":"^3.3.4000","@types/cordova":"0.0.34","rollup-plugin-json":"^3.1.0","rollup-plugin-serve":"^1.0.1","@azerion/h5-ad-wrapper":"^0.2.1-alpha.1","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-livereload":"^1.0.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.19.3","rollup-plugin-node-resolve":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cordova-plugin-google-play-services_0.1.0_1558556408983_0.6756605128784019","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-05-22T20:20:08.816Z","modified":"2026-06-13T19:00:10.511Z","0.1.0":"2019-05-22T20:20:09.126Z"},"bugs":{"url":"https://github.com/azerion/cordova-google-play-servcies/issues"},"author":{"name":"Azerion"},"license":"MIT","homepage":"https://github.com/azerion/cordova-google-play-servcies#README.md","keywords":["ecosystem:cordova","cordova-android"],"repository":{"url":"git+ssh://git@github.com/azerion/cordova-google-play-servcies.git","type":"git"},"description":"Cordova wrapper fo Google Play Services","contributors":[{"name":"Ale Bles","email":"a.bles@azerion.com"}],"maintainers":[{"email":"a.bles@azerion.com","name":"alebles"},{"email":"adsdk-support@azerion.com","name":"azerbot"},{"email":"a.hulsman@azerion.com","name":"hulsman1986"},{"email":"mr.muhasan@gmail.com","name":"moin.hasan"}],"readme":"Cordova Plugin Google Play Services\n===================================\nThis is a simple Cordova plugin that allows you to implement google play services on Android. It has a minimalist API and will allow you to handle leaderboards and achievements.\n\nGetting started\n---------------\nReleases are deployed to Cordova Plugin Registry. You only have to install the desired plugins using Cordova CLI.\n```\n    cordova plugin add cordova-plugin-google-play-services --variable APP_ID=the_app_id;\n```\nAn additional parameter is required:\n* **APP_ID:** The id provided by google play games.\n\nExample\n-------\n```\n// Can pass boolean true to enable debug logging\nconst social = new Azerion.GooglePlayServices();\n\n// Make sure you can log in\nsocial.login();\n\n//Get the player name when logged in\nsocial.getPlayerName().then((name) => {\n    console.log(name);\n\n    // Update UI to show playername\n});\n\n// Check if somebody is logged in\nsocial.isSignedIn((signedIn) => {\n    console.log(signedIn);\n    if (signedIn) {\n        // update ui\n    }\n});\n\n/**\n * Highscores\n */\nsocial.submitScore(leadboardId, score);\nsocial.showLeaderboard();\n\n/**\n * Achievements\n */\nsocial.unlockAchievement();\nsocial.showAchievements();\n```\n\nF.A.Q.\n------\n### But why?\nThere where some libraries, but they where out-dated, this cordova plugin supports google play services version 17:+\n\nDisclaimer\n----------\nWe at Azerion just love playing and creating awesome games. We aren't affiliated with Cordova. We just needed some awesome google play services. Feel free to use it for creating apps for your own awesome games!\nCordova Plugin Google Play Services is distributed under the MIT license. All 3rd party libraries and components are distributed under their\nrespective license terms.\n","readmeFilename":"README.md"}