AppLovin/AppLovin-MAX-React-Native

Small correction to docs, failure to build with NSAdvertisingAttributionReportEndpoint in Info.plist

bitfabrikken opened this issue · 2 comments

Feature Description

On the page at https://dash.applovin.com/documentation/mediation/react-native/getting-started/integration
the URL given for NSAdvertisingAttributionReportEndpoint is incorrect.
It's probably also incorrect for other platform documentation.

It should be "postbacks-app.com", without the https.
If https is used, the app won't build and an error is thrown:

unable to read property list from file: /Users/bitfabrikken/Library/Developer/Xcode/DerivedData/something-grspkhxrzwqkfzemcgubpwvsvsvu/Build/Intermediates.noindex/something.build/Debug-iphonesimulator/something.build/Preprocessed-Info.plist: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 2.)

Xcode 15.0.1

@bitfabrikken, it looks like you have the same issue as this. I guess you can fix it with INFOPLIST_OTHER_PREPROCESSOR_FLAGS (here).

@alhiwatan I don't see any solution on those links, and INFOPLIST_OTHER_PREPROCESSOR_FLAGS is not mentioned on either of them. Can you point out where you see the solution?

Re: documentation - And as it is now, likely a lot of the devs are/will be trying to implement your SDK with react-native on iOS and getting this error - that's why I suggest a solution be added to the docs, so a lot of time is saved.