jpush-react-native

JPush's officially supported React Native plugin (Android & iOS). 极光推送官方支持的 React Native 插件(Android & iOS)。

MIT License

Downloads
830
Stars
1.3K
Committers
37

Bot releases are hidden (Show)

jpush-react-native - v2.8.8 Latest Release

Published by JoshLipan almost 3 years ago

Change Log

  • iOS 初始化逻辑调整,可通过js接口控制初始化
  • Android 升级SDK 到v4.4.5
jpush-react-native - v2.8.7

Published by JoshLipan about 3 years ago

Change Log

  • Update AndroidSDK to v4.2.8
  • Update iOSSDK to v3.7.4
  • Update iOS API setGeofenceMaxCount
jpush-react-native - v.2.5.10

Published by wicked-tc130 about 5 years ago

优化2.5.5

jpush-react-native - v2.5.5

Published by wicked-tc130 about 5 years ago

同步Android-JPush-3.3.4&&iOS-JPush-3.2.2

jpush-react-native - v2.5.3

Published by wicked-tc130 over 5 years ago

Change log

  • Update android JPush SDK to v3.2.0
  • support vivo push channel
jpush-react-native - v2.5.2

Published by JoshLipan over 5 years ago

Change log

  • Update iOS SDK to v3.1.2
  • Set exported false for Android custom Receiver
jpush-react-native - v2.4.0

Published by JoshLipan almost 6 years ago

Change log

  • 适配 Android gradle 3.0+
jpush-react-native - v2.3.0

Published by JoshLipan almost 6 years ago

Change log

  • Update Android SDK to v3.1.7

New API

jpush-react-native - Update iOS SDK

Published by huangminlinux almost 6 years ago

Change Log:

  • Update iOS SDK to 3.1.1.
  • Update jpush-react-native to 2.2.13.
jpush-react-native - Upgrade SDK

Published by JoshLipan about 6 years ago

Change Log:

Android

原生 SDK 升级到 3.1.6

jpush-react-native 2.2.10 需要安装 jcore-react-native 1.2.10 版本

jpush-react-native - 升级 SDK

Published by JoshLipan about 6 years ago

Change Log:

Android

原生 SDK 升级到 3.1.5

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

jpush-react-native - 升级 SDK

Published by JoshLipan over 6 years ago

Change Log:

Android

原生 SDK 升级到 3.1.2

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

jpush-react-native - fix bug

Published by JoshLipan over 6 years ago

Repair click notifications cannot receive the event sometimes.

jpush-react-native - Add getLaunchAppNotification API

Published by huangminlinux over 6 years ago

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:

jpush-react-native - 支持 cocoapods

Published by huangminlinux over 6 years ago

Change Log:

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

终端执行如下指令:

pod install
jpush-react-native - Release 2.1.6

Published by huangminlinux almost 7 years ago

Change Log:

iOS:

android:

  • combine getRegistrationId and addGetRegistrationIdListener.
jpush-react-native - 升级 SDK

Published by KenChoi1992 almost 7 years ago

Change Log:

iOS:

原生 SDK 升级到 3.0.7

Android

原生 SDK 升级到 3.0.9

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

jpush-react-native - Fix Bug

Published by KenChoi1992 almost 7 years ago

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

jpush-react-native - 新增 API

Published by KenChoi1992 about 7 years ago

Change Log

Android

  • add setLatestNotificationNumber, fix #317

  • add setSilenceTime

  • add setPushTime

see Android API for detail.

jpush-react-native - v2.0.6 Release

Published by huangminlinux about 7 years ago

Change Log:

Add APi:

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