Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible block pointer types #687

Closed
SamuelMichelRiad opened this issue May 1, 2021 · 2 comments
Closed

Incompatible block pointer types #687

SamuelMichelRiad opened this issue May 1, 2021 · 2 comments

Comments

@SamuelMichelRiad
Copy link

Hi all,

I'm getting the following error when compiling for iOS:

Incompatible block pointer types sending 'void (^)(BranchLastAttributedTouchData * _Nullable __strong)' to parameter of type 'void (^ _Nonnull)(BranchLastAttributedTouchData * _Nullable __strong, NSError * _Nullable __strong)'

The plugin version is 4.2.3. Any ideas?

Screen Shot 2021-05-02 at 1 32 20 AM

@echo-branch
Copy link
Contributor

echo-branch commented May 3, 2021

Thanks for the heads up. Working on a fix.

This is what that line should have been.

[branch lastAttributedTouchDataWithAttributionWindow:30 completion:^(BranchLastAttributedTouchData * _Nullable latd, NSError * _Nullable error) {

@echo-branch
Copy link
Contributor

This should be fixed in the 4.2.4 patch release.

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

No branches or pull requests

2 participants