From 682d897aef6993ff0794fb82bdb96f9e610415c8 Mon Sep 17 00:00:00 2001 From: JoshLi <542938192@qq.com> Date: Mon, 9 Aug 2021 10:36:24 +0800 Subject: [PATCH] =?UTF-8?q?iOS=20=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- ios/RCTJPushModule/RCTJPushModule.m | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index ebc46656..c35c7f8d 100644 --- a/index.js +++ b/index.js @@ -350,7 +350,7 @@ export default class JPush { if (Platform.OS == "android") { JPushModule.setMaxGeofenceNumber(params) } else { - JPushModule.setGeofenecMaxCount(params) + JPushModule.setGeofenceMaxCount(params) } } diff --git a/ios/RCTJPushModule/RCTJPushModule.m b/ios/RCTJPushModule/RCTJPushModule.m index 9062fcc6..c1f9cf86 100644 --- a/ios/RCTJPushModule/RCTJPushModule.m +++ b/ios/RCTJPushModule/RCTJPushModule.m @@ -343,10 +343,10 @@ - (id)init } } -RCT_EXPORT_METHOD(setGeofenecMaxCount:(NSDictionary *)params) +RCT_EXPORT_METHOD(setGeofenceMaxCount:(NSDictionary *)params) { if(params[GEO_FENCE_MAX_NUMBER]){ - [JPUSHService setGeofenecMaxCount:[params[GEO_FENCE_MAX_NUMBER] integerValue]]; + [JPUSHService setGeofenceMaxCount:[params[GEO_FENCE_MAX_NUMBER] integerValue]]; } } diff --git a/package.json b/package.json index 8935a584..710baea4 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "index.d.ts", "license": "ISC", "author": "wicked.tc130", - "version": "2.8.5", + "version": "2.8.6", "repository": { "type": "git", "url": "https://github.com/jpush/jpush-react-native"