Coder Social home page Coder Social logo

Comments (10)

hongjie104 avatar hongjie104 commented on June 2, 2024

我也这有这种问题。。。不过还没有研究原因。

from react-native-wx.

lucky4627 avatar lucky4627 commented on June 2, 2024

同问,上面解决了吗?

from react-native-wx.

ccgitgit avatar ccgitgit commented on June 2, 2024

同问

from react-native-wx.

XJL avatar XJL commented on June 2, 2024

同问 有解决的吗

from react-native-wx.

TrustDec avatar TrustDec commented on June 2, 2024

@dongweb @eddie104 @luckykoo @ccgitgit @XJL 请问你们解决了吗?我现在也是不管使用哪个方法,返回App的时候就崩溃,然后重新打开

from react-native-wx.

dongweb avatar dongweb commented on June 2, 2024

我出现这个问题的原因是微信的appid没有写对。在开发者中心看到的是一个数字和字母组合的appid,但是用的时候要在前面加上wx,也就是:(wx+appid)。这种细节文档并没有提到。@eddie104 @luckykoo @ccgitgit @XJL

from react-native-wx.

XJL avatar XJL commented on June 2, 2024

我是已经加了前缀了的哦,问题似乎不是那个appid。
我把东西分享出去后,我选择“留在微信”,然后我再手动回到我的app的时候,不会闪退。除此之外以他方式回到app都闪退。@dongweb

from react-native-wx.

sansancloud avatar sansancloud commented on June 2, 2024

@XJL 我也遇到这个问题。原来新版本里react-native-wx 里有个AndroidManifest.xml配置 里面的activity 类名是 WXEntryActivity 而我自己定义的是WXPayEntryActivity 。修改成一致后就可以了。不过好像还是获取不到回调。

from react-native-wx.

sansancloud avatar sansancloud commented on June 2, 2024

名称改成WXEntryActivity 并且在主项目也配置这个activity后就都可以了。。

from react-native-wx.

Sura-zm avatar Sura-zm commented on June 2, 2024

WXEntryActivity这个文件的包名也很重要,要使用注册appid的时候那个包名

from react-native-wx.

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.