la-haus / flutter-segment

Segment.io library for flutter
MIT License
22 stars 138 forks source link

How to use WebEngage through flutter_segment. #61

Open SarthakWebEngage opened 1 year ago

SarthakWebEngage commented 1 year ago

I want to integrate WebEngage through flutter, can you please guide me how to do so.

For instance, native integration looks like:

Analytics analytics = new Analytics.Builder(this, "KEY") .trackApplicationLifecycleEvents() // Enable this to record certain application events automatically! .logLevel(Analytics.LogLevel.VERBOSE) .use(WebEngageIntegration.FACTORY.withWebEngageConfig(webEngageConfig)) .build();

SarthakWebEngage commented 1 year ago

Hey @danielgomezrico, I would like to submit a pull request to support usage for third party integration like WebEngage. Do help me with any pre-requisites if any.

danielgomezrico commented 1 year ago

@SarthakWebEngage Currently we have a blocking issue related to new integrations: https://github.com/la-haus/flutter-segment/issues/49

I advise you to create a branch with the implementation and use pubspec to point to that branch if you want to have it fast :)