Open smlarkin opened 4 years ago
In Button's Docs, there is a Report Impression Views section:
This could be a single class ImpressionView that is initialized withcreativeType types:
ImpressionView
creativeType
- hero carousel - list - grid - detail - other
An single method track would be needed with these params:
track
- url - visibleRateType - visibleRate - offerId
Or this could be purely functional with a curried function / partial application for ImpressionView that does the same thing as the class.
I am happy to submit it PR with this feature if you can adjust any of the native code / bindings I don't get right.
Cheers!
Hey @smlarkin thanks for the suggestion, apologies for the delay in responding. I need to update the SDKs in the package this week so will also look at doing what you suggested!
In Button's Docs, there is a Report Impression Views section:
This could be a single class
ImpressionView
that is initialized withcreativeType
types:An single method
track
would be needed with these params:Or this could be purely functional with a curried function / partial application for
ImpressionView
that does the same thing as the class.I am happy to submit it PR with this feature if you can adjust any of the native code / bindings I don't get right.
Cheers!