我想要在Android上得到ADID,而IOS上有IDFA,如何在本机反应上做到这一点?我使用这个名为react-native-idfa的库,但是这个库总是在IDFA上没有定义
发布于 2019-04-15 19:12:13
我们也经历过同样的问题。确保您的iAd.framework链接了Xcode ->“构建阶段”:

他们确实在他们的github https://github.com/FreebirdRides/react-native-idfa#podfile上提到了这一点
在“用库链接二进制文件”下添加AdSupport.framework:

如果你想使用我们的,我们用的是反应本地的idfa:
https://github.com/FreebirdRides/react-native-idfa
这一承诺尤其是:
https://github.com/FreebirdRides/react-native-idfa/commit/9c6992a53dd109bed41e8c8300906a71e6068043
https://stackoverflow.com/questions/54585500
复制相似问题