Open dzuluaga opened 1 year ago
Hello Diego, we are reviewing with the team, design and technical details of how implement your suggestions, to at the end use the gradle plugin like the following:
omhConfig {
bundle("gms") {
addService(
storageGms { version = 1.0.1 }
)
addService(
authNonGms { version = 1.0.1 }
)
addService("com.my-wrapper.example.maps:1.0.0-SNAPSHOT")
}
bundle("hms") {
// ...
}
defaultBundle() {
addService(
storageGms { version = 1.0.1 }
)
addService(
authNonGms { version = 1.0.1 }
)
}
}
Diego, one question, in case that i want to use only auth; if i have the following snippet:
omhConfig {
bundle("gms") {
addService(
authGms { version = "0.0.1" }
)
}
bundle("hms") {
addService(
authNonGms { version = "0.0.2" }
)
}
defaultBundle() {
addService(
authNonGms { version = "0.0.2" }
)
}
}
In this case how should i define the version of auth-api itself?
A) Inside each bundle define, add the service:
addService(
authApi { version = "0.0.1" }
)
B) Inside each bundle define, use authApi directly:
omhConfig {
bundle("gms") {
authApi {
version = "0.0.1" // <- Define it directly, without adding it as a service
}
addService(
authGms { version = "0.0.1" }
)
}
}
? cc - @Anwera64 @nelsonwilches
Thank you for your message. We need to clarify some questions about the purpose of the core plugin to ensure that we have a clear understanding of its functionality.
In addition, we kindly request that you schedule a call with us to discuss these questions further. We believe that a discussion would help us to ensure that the core plugin meets the needs of our developers. Please ping me in Slack to schedule time.
Hi Nelson,
Thanks for setting up the call. Here's a summary of our conversation regarding the above questions:
We discussed that the current omh core plugin can be simplified by using more generic functions like "addGmsService" and "addNonGmsService" instead of "authGms" and "authNonGms" and so and so forth. This will make the purpose of the API clearer and enable us to declare both existing and 3rd party implementations. Also, the omh core needs handle the single build GMS and non-GMS requirement discussed on March 6th.
We concluded that passing the coordinates in the standard build.gradle format will allow the core plugin to use OMH 3rd party implementations/plugins.
We are still pending on discussing how to use the auth/map/storage SDK independently of the GMS or non-GMS implementation. We will discuss this in our next meeting.
Let me know if you have any further questions or concerns. And please go ahead a book time next week to discuss with the team. Thanks!
cc - @rquino @prestonlau @teban1288
Hello Nelson, I hope you're doing well! I just wanted to follow up on our March 23rd call with you and Anton. During the call, we talked about some ways to improve the core plugin to make it more configurable, particularly in regards to defining the gms and non-gms implementations for each service. I was wondering if you had a chance to put together the design for the new solution that we agreed upon? Please let me know if you have any questions or concerns. Thank you so much for your help!
cc - @Anwera64 @nelsonwilches