jpush-react-native
jpush-react-native copied to clipboard
IOS - No IDFA version
Hi anyone know to do a non idfa version for this installation?
I think it needs some more customized pod install? I tried following
pod 'JCore', '2.1.4-noidfa' // 必选项 pod 'JPush', '3.2.4-noidfa' // 必选项
But the JPush pod is giving me errors

你需要先在项目根目录下添加react-native.config.js,阻止JCore(低版本还需要阻止JPush)在 iOS 下的 autolink,然后在 Podfile 中添加对应的 pod 配置
react-native.config.js
module.exports = {
dependencies: {
'jcore-react-native': {
platforms: {
ios: null,
},
},
},
};
Podfile
...
pod 'JCore', '2.4.0-noidfa'
...