Skip to content

Commit d9f8a4b

Browse files
KenChoiKenChoi
authored andcommitted
update Android SDK, prepare release v1.6.4
1 parent 8c7d187 commit d9f8a4b

File tree

4 files changed

+39
-39
lines changed

4 files changed

+39
-39
lines changed
-173 KB
Binary file not shown.
182 KB
Binary file not shown.

example/react-native-android/set_activity.js

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ export default class SetActivity extends React.Component {
4343
setTag() {
4444
if (this.state.tag !== undefined) {
4545
/*
46-
* 请注意这个接口要传一个数组过去,这里只是个简单的示范
47-
*/
46+
* 请注意这个接口要传一个数组过去,这里只是个简单的示范
47+
*/
4848
JPushModule.setTags(["VIP", "NOTVIP"], () => {
4949
console.log("Set tag succeed");
5050
}, () => {
@@ -73,7 +73,7 @@ export default class SetActivity extends React.Component {
7373

7474
render() {
7575
return (
76-
<View style = { styles.container }>
76+
<View style = { styles.container }>
7777
<View style = { styles.title }>
7878
<Text style = { styles.titleText }>
7979
设置Tag和Alias
@@ -145,7 +145,7 @@ export default class SetActivity extends React.Component {
145145
</TouchableHighlight>
146146
</View>
147147
</View>
148-
);
148+
);
149149
}
150150
}
151151

@@ -165,7 +165,7 @@ var styles = StyleSheet.create({
165165
cornorBg: {
166166
paddingBottom: 20,
167167
paddingTop: 20,
168-
168+
169169
},
170170
setterContainer: {
171171
flexDirection: 'row',
@@ -185,37 +185,37 @@ var styles = StyleSheet.create({
185185
},
186186
btnStyle: {
187187
width: 80,
188-
marginTop: 10,
189-
borderWidth: 1,
190-
borderColor: '#3e83d7',
191-
borderRadius: 8,
192-
backgroundColor: '#3e83d7',
193-
padding: 10
194-
},
195-
btnText: {
196-
textAlign: 'center',
197-
fontSize: 12,
198-
},
199-
aliasInput: {
200-
flex: 1,
201-
fontSize: 15,
202-
marginLeft: 5,
203-
marginRight: 5,
204-
color: '#000000'
205-
},
206-
customContainer: {
207-
marginTop: 10,
208-
paddingTop: 10,
209-
paddingBottom: 10,
210-
},
211-
customBtn: {
212-
flex: 1,
213-
justifyContent: 'center',
214-
borderWidth: 1,
215-
borderColor: '#6f80dc',
216-
borderRadius: 8,
217-
backgroundColor: '#6f80dc',
218-
marginTop: 10,
219-
padding: 10
220-
}
188+
marginTop: 10,
189+
borderWidth: 1,
190+
borderColor: '#3e83d7',
191+
borderRadius: 8,
192+
backgroundColor: '#3e83d7',
193+
padding: 10
194+
},
195+
btnText: {
196+
textAlign: 'center',
197+
fontSize: 12,
198+
},
199+
aliasInput: {
200+
flex: 1,
201+
fontSize: 15,
202+
marginLeft: 5,
203+
marginRight: 5,
204+
color: '#000000'
205+
},
206+
customContainer: {
207+
marginTop: 10,
208+
paddingTop: 10,
209+
paddingBottom: 10,
210+
},
211+
customBtn: {
212+
flex: 1,
213+
justifyContent: 'center',
214+
borderWidth: 1,
215+
borderColor: '#6f80dc',
216+
borderRadius: 8,
217+
backgroundColor: '#6f80dc',
218+
marginTop: 10,
219+
padding: 10
220+
}
221221
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jpush-react-native",
3-
"version": "1.6.3",
3+
"version": "1.6.4",
44
"description": "a jpush plugin for react native application",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)