Skip to content

Commit 682d897

Browse files
committed
iOS 接口调整
1 parent 0e067b4 commit 682d897

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ export default class JPush {
350350
if (Platform.OS == "android") {
351351
JPushModule.setMaxGeofenceNumber(params)
352352
} else {
353-
JPushModule.setGeofenecMaxCount(params)
353+
JPushModule.setGeofenceMaxCount(params)
354354
}
355355
}
356356

ios/RCTJPushModule/RCTJPushModule.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,10 @@ - (id)init
343343
}
344344
}
345345

346-
RCT_EXPORT_METHOD(setGeofenecMaxCount:(NSDictionary *)params)
346+
RCT_EXPORT_METHOD(setGeofenceMaxCount:(NSDictionary *)params)
347347
{
348348
if(params[GEO_FENCE_MAX_NUMBER]){
349-
[JPUSHService setGeofenecMaxCount:[params[GEO_FENCE_MAX_NUMBER] integerValue]];
349+
[JPUSHService setGeofenceMaxCount:[params[GEO_FENCE_MAX_NUMBER] integerValue]];
350350
}
351351
}
352352

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "index.d.ts",
77
"license": "ISC",
88
"author": "wicked.tc130",
9-
"version": "2.8.5",
9+
"version": "2.8.6",
1010
"repository": {
1111
"type": "git",
1212
"url": "https://github.com/jpush/jpush-react-native"

0 commit comments

Comments
 (0)