Open ekilah opened 8 years ago
Yeah it was kind of just a test to see if constants were being exported back to JS, I'll be getting rid of that in the future.
As it stands now, the only "option" that actually works aside from the callbacks is the publisherId
. I'm definitely looking into fixing it, I've got a local branch with all HZ*
constants exported and I wanted to use them in React.
cool, yeah once those constants are exported and available to the JS environment it'll be easy to do!
The Heyzap start options are an unsigned integer bitmask passed to
+ (void) startWithPublisherID:(NSString *)publisherID andOptions:(HZAdOptions)options
. I don't know what the code is doing with the options right now - it appears they are being returned as an array to the js that called the bridge'sstart
method.