Code Monkey home page Code Monkey logo

Comments (9)

clh161 avatar clh161 commented on July 20, 2024

同意
加上mode_modules不會放在git裡,設定放在mode_modules的話,設定就沒有存到git裡

from jpush-react-native.

KenChoi1992 avatar KenChoi1992 commented on July 20, 2024

安卓和 iOS 不一样,iOS 之所以把 AppKey 放到 AppDelegate 是因为JPush SDK 初始化需要带 AppKey,而安卓则不需要。

from jpush-react-native.

clh161 avatar clh161 commented on July 20, 2024

建議android 的appkey也在js裡面設定,因為node_module一般會立入.gitignore
這樣的話,appkey就沒有在git裡更新

from jpush-react-native.

viix avatar viix commented on July 20, 2024

对的 或者考虑放到AndroidManifest.xml里?

from jpush-react-native.

lotosbin avatar lotosbin commented on July 20, 2024

我是将npm run configureJPush xxx 添加到 postinstall 里面了

from jpush-react-native.

lotosbin avatar lotosbin commented on July 20, 2024

@KenChoi1992 npm run configureJPush 更换appkey 执行的时候无效,appkey 没有更新
[email protected].

from jpush-react-native.

pannz avatar pannz commented on July 20, 2024

安卓appKey配置在node_modules里面实在是厉害,使用node fs读写文件去修改config文件也是厉害啊

真是大开眼界啊。。。

from jpush-react-native.

KenChoi1992 avatar KenChoi1992 commented on July 20, 2024

@pannz 明天更新一下版本

from jpush-react-native.

KenChoi1992 avatar KenChoi1992 commented on July 20, 2024

版本已更新至 1.2.2, 修复了这个问题。

from jpush-react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.