jpush-react-native icon indicating copy to clipboard operation
jpush-react-native copied to clipboard

IOS - No IDFA version

Open enigmablue opened this issue 5 years ago • 1 comments

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

image

enigmablue avatar Oct 13 '20 15:10 enigmablue

你需要先在项目根目录下添加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'
...

puuuudding avatar May 20 '21 09:05 puuuudding