Skip to content

Releases: jpush/jpush-react-native

升级 SDK

23 Jul 09:49
Compare
Choose a tag to compare

Change Log:

Android

原生 SDK 升级到 3.1.5

jpush-react-native 2.2.7 需要安装 jcore-react-native 1.2.8 版本

升级 SDK

16 May 09:21
Compare
Choose a tag to compare

Change Log:

Android

原生 SDK 升级到 3.1.2

jpush-react-native 2.2.3 需要安装 jcore-react-native 1.2.6 版本

fix bug

08 May 12:57
Compare
Choose a tag to compare

Repair click notifications cannot receive the event sometimes.

Add getLaunchAppNotification API

28 Apr 07:40
Compare
Choose a tag to compare

Change Log:

  • unify remote notifcation field, iOS will add extras field just like android. NOTICE: If you extras-keys contain extras key, it will move into extras field, so you need adjust you code like that:
JPushModule.addReceiveNotificationListener( notification => {
 // old:
  const oldExtrasString = notifcation.extras;

  // new:
  const newExtrasString = notification.extras.extras;
})

Add API:

支持 cocoapods

24 Jan 03:19
Compare
Choose a tag to compare

Change Log:

  • 支持 Cocoapods 方式集成
    在 Podfile 中添加如下代码:
pod 'JPushRN', :path => '../node_modules/jpush-react-native'

终端执行如下指令:

pod install

Release 2.1.6

15 Dec 08:56
Compare
Choose a tag to compare

Change Log:

iOS:

android:

  • combine getRegistrationId and addGetRegistrationIdListener.

升级 SDK

30 Oct 10:16
bb713c3
Compare
Choose a tag to compare

Change Log:

iOS:

原生 SDK 升级到 3.0.7

Android

原生 SDK 升级到 3.0.9

jpush-react-native 2.1.3 需要安装 jcore-react-native 1.2.1 版本

Fix Bug

20 Oct 08:57
Compare
Choose a tag to compare

Change Log

  • Add sendLocalNotification
    usage:
var notification = {
    buildId: 1,
    id:5,
    title:'jpush',
    content:'This is a test!!!!',
    extra:{key1:'value1',key2:'value2'},
    fireTime:2000,
}
JPushModule.sendLocalNotification(notification);

jpush-react-native > 2.1.1 目前支持最新 react native 版本为 0.49.2

新增 API

13 Sep 06:41
Compare
Choose a tag to compare

Change Log

Android

  • add setLatestNotificationNumber, fix #317

  • add setSilenceTime

  • add setPushTime

see Android API for detail.

v2.0.6 Release

31 Aug 03:15
Compare
Choose a tag to compare

Change Log:

Add APi:

iOS:
  • getBadge
    获取当前 badge 值
  JPushModule.getBadge((badge) => {
    console.log(badge)
  });