Luis Leal
Luis Leal

Reputation: 3514

codename one google-services.json and build.gradle usage

I want to develop a new application using codename one, but before i start coding i have some questions which i have because this new app needs to use google-services APIS.

  1. In codename one, how do you include a google-services.json file? (In android studio this goes on "App" directory)
  2. How do you add content or modify build.gradle files?(both app build.gradle and project build.gradle), i need to add the reference to the google-services.json file, and some dependencies, etc.

Upvotes: 2

Views: 220

Answers (1)

Shai Almog
Shai Almog

Reputation: 52770

You don't. We build the native app for you and add those files including set the build files.

You can explicitly pick specific google services using the build hints in the project when targeting Android but all of those things are for Android.

If you would explain the dependencies we can discuss how you add them in a way that works in all of the supported platforms.

Upvotes: 1

Related Questions