kontent-ai / java-packages

Delivery Java SDK for Kontent.ai including examples for Spring, Gradle, Kotlin and Java Android app
https://kontent.ai/learn/tutorials/develop-apps/overview/?tech=java
MIT License
14 stars 28 forks source link

Make projectID and preview API configurable #145

Closed Simply007 closed 1 year ago

Simply007 commented 1 year ago

Motivation

Internal link: DEVREL-694

Make the project Id and preview API key configurable. Currently using getIntent.getStringExtra().

Checklist

How to test

If manual testing is required, what are the steps?

IvanKiral commented 1 year ago

Requested changes:

Simply007 commented 1 year ago

Requested changes:

  • [x] Add how to use customProjectId to readme
  • [ ] Consider if current approach of customProjectId is right

I think the code is fine - it is a sample..

  • [x] Considre renaming resetClient