Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems the jmessage plugin does not support capacitor. #118

Open
ramseyfeng opened this issue Jun 23, 2021 · 0 comments
Open

It seems the jmessage plugin does not support capacitor. #118

ramseyfeng opened this issue Jun 23, 2021 · 0 comments

Comments

@ramseyfeng
Copy link

ramseyfeng commented Jun 23, 2021

WARNING: 如果不按照这个表格,我们将无法帮助你,并将忽略你的问题。

你的运行环境

  • 插件版本:
  • 平台(Android / iOS): IOS
  • Cordova version (cordova -v): Latest Jmessage plugin
  • Cordova platform version (cordova platform ls): We are using the capacitor
  • Ionic Version (if using Ionic): 5

期望效果

我们希望这个插件能在capacitor中也能成功使用

实际效果

这个插件好像并不能转成Capacitor兼容的Cordova插件。

背景

你尝试做过些什么?

因为新的Ionic都是用CapacitorJS, Capacitor也声明能支持90%的Cordova插件,我们试了JPush,确实改了些配置就能用了,可是Jmessage并不成功。
我们根据文档 how to install Cordova plugins that have variables/hooks

在JMessageConfig.plist and 添加了 APP_KEY:

<key>Appkey</key>
<string></string>update JMessageConfig.plist and add an entry for Appkey with the value being your APP_KEY:
<key>Appkey</key>
<string></string>

Debug logs

包括 Android 或 iOS 的日志:

  • iOS: XCode logs
  • Android: $ adb logcat / Android Studio logcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant