exponea / exponea-ios-sdk

MIT License
19 stars 27 forks source link

InAppContentBlock in demo app is not showing #65

Open HannaDigis opened 2 months ago

HannaDigis commented 2 months ago

Installed demo app via link from original documentation https://documentation.bloomreach.com/engagement/docs/ios-sdk-example-app Xcode Version 15.3 (15E204a) Min target: 12.0 Destination: iPhone Testing devices: real device iPhone 11, simulator iPhone 15 Pro, iPhone 15 Pro Max

When running app, on Authentication view entered my project token, API token, and API base URL Also tried with API Base URL https://api.exponea.com/ (default option) Went into tab for InAppContentBlocksViewController I was able to see table view only with numbers, but there were no content blocks Screenshot and logs in zip files are attached

PS: I have noticed that in documentation there is a screenshot of several view controllers including InAppContent, but content blocks are missed there too. screenshot from documentation

Screenshot 2024-05-01 at 4 49 20 PM

screenshot from my test

Screenshot 2024-05-01 at 4 45 55 PM

log file demo app logs.zip

Ankmara commented 2 months ago

Hi, thank you for report. 1 - do you have active campaign? 2 - jf yes, please, wait for self check alert on the first screen after login. Then go to content block page and you will see your messages.

HannaDigis commented 1 month ago

Hello 1- yes, we do. It works on Android, but not on iOS. That's why I was trying to check CB in demo app 2- I can see self check alert. As I understand, self check push is not necessary for CB feature. Still, after getting this alert and going to content block page, I'm not able to see any CB

Screenshot 2024-05-14 at 8 44 42 AM
Ankmara commented 1 month ago

Hi,

could send us your logs via support form, please?

Thank you

HannaDigis commented 1 month ago

Could you please provide an instruction how to do it?

Ankmara commented 1 month ago

Please follow these steps: https://documentation.bloomreach.com/engagement/docs/ios-sdk-in-app-content-blocks#troubleshooting

Thank you.

xcibik00 commented 1 month ago

Hi @HannaDigis , Regarding to "I can see self check alert. As I understand, self check push is not necessary for CB feature" -> yes you are right, but this is the behaviour of our example app, check is not necessary for CB feature, but its a signal and check/last step if all is initialised OK, after that you should see the CBs in that app section, if not it can be a problem with campaign configuration etc. or placeholder mapping -> to tell more we need to see the full log I recommend to use (We do not know which SDK version you are using) to use 2.25.3+ SDK version with extended verbose logging for In-app content blocks Thanks!