Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Capacitor Support | Add Default for ANDROID_APP_KEY + ANDROID_APP_SIGNATURE #117

Open
Lindsor opened this issue Jun 26, 2024 · 1 comment

Comments

@Lindsor
Copy link

Lindsor commented Jun 26, 2024

The Apptentive Cordova plugin does not currently allow setting ANDROID_APP_KEY and ANDROID_APP_SIGNATURE through the build.gradle files if we are using non-managed projects.

With Capacitor as a very popular alternative to Cordova providing the ability to set these two values in the build.gradle file should be supported.

@Lindsor
Copy link
Author

Lindsor commented Jun 26, 2024

Created PR: #118

This will allow us to set the values in the build.gradle file like so:

// app/build.gradle

android {
  // ...

  defaultConfig {
    // ...
    manifestPlaceholder {
      APPTENTIVE_ANDROID_APP_KEY: "<THE_ANDROID_APP_KEY>"
      APPTENTIVE_ANDROID_APP_SIGNATURE: "<ANDROID_APP_SIGNATURE>"
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant