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

Issue When Integrating Outbrain SFWidget Bridge in UITableView - No Delegate Callback, No Network Request, No Logging #8

Open
matrad opened this issue Aug 17, 2023 · 1 comment

Comments

@matrad
Copy link

matrad commented Aug 17, 2023

Hello,

I integrated the Outbrain SDK and switched from the legacy Smartfeed SDK to the SFWidget SDK, as described here.

Unfortunately the Widget remains Blank, I doulbe checked all the Logs and Code, but the Widget does not get initialized.

I configured the Widget with:

    [Outbrain initializeOutbrainWithPartnerKey:@"xxxxxx"];
    [self.sfWidget configureWithDelegate:self url:self.articleURL widgetId:@"MB_1" installationKey:@"xxxxxx"];

And I placed the Outbrain-Widget in the Middle of a TableView - I created a new Section with one Row, but nothing Happens.

[Outbrain SDKInitialized] returns true

[self.sfWidget getCurrentHeight] always returns 0, if I return 200 (for test purposes) I get an empty Widget

No SFWidgetDelegate method is called.

I also verified with Charles Remote Proxy if any network request is sent from Outbrain, but there's nothing what is sended.

I implemented this methods:

[self.sfWidget scrollViewDidScroll:scrollView];
[self.sfWidget willDisplaySFWidgetTableCell:(SFWidgetTableCell*)cell];

Can you help me? Am I missing a call?

We're using Version 4.21.0 of the Outbrain-Widget.

@matrad matrad changed the title Issue When Integrating Outbrain Issue When Integrating Outbrain SFWidget Bridge in UITableView - No Delegate Callback, No Network Request, No Logging Aug 17, 2023
@matrad
Copy link
Author

matrad commented Aug 17, 2023

Hello,

the Missing Part was:

    self.sfWidget = [[SFWidget alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 0)];

This is also missing in your Documentation...

We wasted hours finding out this, comparing your sample app, ....

So please add this to your Documentation.

Thank you
Matthias

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

1 participant