aws-amplify / amplify-flutter

A declarative library with an easy-to-use interface for building Flutter applications on AWS.
https://docs.amplify.aws
Apache License 2.0
1.3k stars 239 forks source link

Feature request: update Pinpoint endpoints #1392

Open geoox opened 2 years ago

geoox commented 2 years ago

Similar issue: #172

The problem:

What is needed:

dnys1 commented 2 years ago

Hi @geoox - thanks for creating this ticket and providing a link to the JS API. We strive to keep our library at par with the other SDKs and will definitely look to implement this functionality in the future.

HassanChamseddine commented 1 year ago

any information about updating the library with this feature?

fjnoyp commented 1 year ago

Hi @HassanChamseddine thanks for reaching out about this. Your comments help us improve how we prioritize our tasks by demonstrating developer interest in certain issues/features.

As the current implementation of Amplify Flutter Analytics relies on native implementations, we couldn't easily expose the escape hatch. We are currently working to transition Analytics to a dart first implementation that would give us more flexibility to handle requests such as these. I'll bring this up internally to our team to see how we might want to tackle this request in the future once that transition is completed.

fjnoyp commented 1 year ago

Hi @HassanChamseddine @geoox other members of the team are aware of this request. We will be looking into adding an API to support that use case in the future.

Again, thanks for reaching out.

fjnoyp commented 1 year ago

Hi @geoox thanks again for creating this issue.

I think you saw this updateEndpoint method in the Android / iOS SDK and not in Amplify Android / iOS. They are two separate libraries with different functionality - Amplify uses the SDKs to abstract the lower level complexities in the SDKs.

Amplify Analytics currently doesn't have plans to expose Pinpoint level functionality as it's meant to abstract away how Pinpoint functions.

We are currently rethinking our approach to the Analytics category which would change the API and the way you interact and conceptualize its usage. I can let you know when we have more details.

If the lack of updatePinpointEndpoint is still a major concern for you, can you please let us know here?