Skip to main content

I am building a Flutter app and would like to instrument it with a Custom Action so I can send events to Amplitude.

However, I haven’t seen an example of how to use the flutter-amplitude pub.dev package with a Flutter app in this way.

I searched here and Stack overflow and haven’t been able to find an example.

Hi @assembly ,

 

So you are looking to create an event that is custom through the SDK, correct? Or am I misunderstanding? Custom events can only be made through the Amplitude UI. You would then need to fire the events that make up the custom event from the Flutter SDK. 

 

If I misunderstood, please feel free to elaborate!


Thanks for posting here @assembly 😃 I noticed that you found some support in this thread and wanted to close the loop. Please keep us posted if you need anything else! 

 


The documentation turned out to be incorrect int he Amplitude site.  I found the right way to add Event Properties in the GitHub.

 


But I would suggest correcting the docs under SDK Flutter -- it would’e saved me a couple of hours of time...old documentation that generates errors is very 😡


Hi @assembly ,

 

Can you post the update code here so I can let the Engineers know and they can update the docs? Thank you!


Reply