Git Product home page Git Product logo

Comments (4)

xu-li avatar xu-li commented on May 20, 2024

@rlisperguier Yes, you have to have your app approved by wechat, and also don't forget to setup the callback(See below).

Note: Install(Android)
Inspired by https://github.com/vilic/cordova-plugin-wechat Wechat needs to callback to "your.package.name.wxapi.WXEntryActivity" to handle response. Since the package name is determined when you install the packag.java, so we use hook to call android-install.js to do the work. I found some older version of cordova(ionic 1.3.0) doesn't trigger this js, so if you found this file isn't copied, consider upgrade Cordova.

from cordova-plugin-wechat.

rlisperguier avatar rlisperguier commented on May 20, 2024

@xu-li thanks for the reply, i have the app approved in wechat, but i'm still getting this issue, can you give me some guide over the "note" section? i'm ussing phonegap build in the last version (3.7.0) i don't know if this is a problem (i also try compile locally with cordova, getting the same results)

from cordova-plugin-wechat.

rlisperguier avatar rlisperguier commented on May 20, 2024

@xu-li i have already solved this problem. When i run cordova build android the activity WXEntryActivity wasn't copied to the corresponding folder, generating an app crash after share a link, so i copied manually the activity from the plugin folder to the platform folder and works. But it still not working with PhoneGapBuild

Thanks for your help

from cordova-plugin-wechat.

xu-li avatar xu-li commented on May 20, 2024

@rlisperguier It should be okay now.

from cordova-plugin-wechat.

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.