0

I'm deploying my Nativescript app to Google Play and would like to use the Play Stores licensing tools so that the app can't be distributed in a malicious way. Is it possible to use these tools with a Nativescript app currently? It seems I need to use the Play services SDK but not sure how I can approach this. Support for the play services in NS are seem lacking. I'm just looking for some guidance and a decent approach.

I found an npm package for nativescript-google-sdk but that seems purely maps focused. It also hasn't been updated in quite some time.

Stavros_S
  • 2,145
  • 7
  • 31
  • 75

1 Answers1

0

I think the moment you upload your APK in the Google Play Store as mentioned in Native script docs, you'll have the option to configure the Licensing there. So you shouldn't worry. This SO thread might offer additional info as well.

Community
  • 1
  • 1
ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56
  • Thanks, I know that once the application is in the Play Store I can get the licensing info but there are several other steps that need to be made within the app code in order to insure that the licensing check is made. This is where my concern is due to the nature of the app being written in JS. – Stavros_S Oct 12 '16 at 15:22
  • You should cross the bridge when you get there, publish your beta app and see where it goes. Anyway, check this [github post](https://github.com/NativeScript/android-runtime/issues/440) it might help, especially if your concern is obfuscation of code. – ReyAnthonyRenacia Oct 12 '16 at 15:27
  • I have actually already deployed the build to the Play Store and set up the beta release. So I have the licensing key ready but integrating the play services sdk with Nativescript is where the current blocker is. – Stavros_S Oct 12 '16 at 16:06
  • If it's not mentioned in the docs, maybe it's not supported yet. – ReyAnthonyRenacia Oct 12 '16 at 16:09