We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2584a65 commit cd32fefCopy full SHA for cd32fef
2 files changed
.npmignore
@@ -0,0 +1,2 @@
1
+example/
2
+cursor.md
cursor.md
@@ -0,0 +1,31 @@
+
+使用方法:修改需求里的内容,将需求和步骤内容作为指令让cursor进行执行。
3
4
5
+需求:
6
+1. 更新iOS JCore SDK 到 x.x.x 版本。JCore SDK 包的路径是:xxx
7
+2. 更新Android JCore SDK 到 x.x.x 版本, JCore SDK 包的路径是:xxx
8
+3. 将原生iOS、Android SDK 新增的方法,封装在插件中。
9
+ 原生SDK新增方法一:
10
+ iOS :
11
12
+ ```
13
14
15
+ Android:
16
17
18
19
20
+ 统一封装为 方法名为 "" 的对外方法。
21
22
23
+请按照以下步骤完成:
24
25
+1. 找到需要升级的iOS JPush SDK,替换ios/RCTJPushModule/jcore-ios-x.x.x.xcframework 为需要更新的版本。
26
+2. 找到需要升级的Android JPush SDK,替换android/libs/jcore-android-x.x.x.jar 为需要更新的版本。
27
+3. 在插件中封装需求中需要封装的SDK方法,并在插件示例demo中提供示例调用代码,注意rn插件新增方法还需要再index.js和index.d.ts文件中声明哦。(如果没有需求中没有需要新增的方法,则跳过该步骤)
28
+4. 在package.json中更新插件版本号,在现有版本号上 + 0.0.1
29
30
31
0 commit comments