Skip to content

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

@ramseyfeng

Description

@ramseyfeng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions