Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Allow passing start options #7

Open
ekilah opened this issue Jun 3, 2016 · 2 comments
Open

Allow passing start options #7

ekilah opened this issue Jun 3, 2016 · 2 comments

Comments

@ekilah
Copy link

ekilah commented Jun 3, 2016

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's start method.

@hassankhan
Copy link
Member

hassankhan commented Jun 3, 2016

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.

@ekilah
Copy link
Author

ekilah commented Jun 3, 2016

cool, yeah once those constants are exported and available to the JS environment it'll be easy to do!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants