Skip to content

Commit 662b256

Browse files
committed
change team + bundle id
1 parent 3cd3302 commit 662b256

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ coverage/
1010
# tsc
1111
#
1212
dist
13+
android/build
1314

1415
# OSX
1516
#

examples/RNOneSignalTS/Helpers.tsx

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
import {
2-
Button,
32
KeyboardAvoidingView,
43
StyleSheet,
4+
Text,
55
TextInput,
6-
View,
6+
TouchableOpacity,
77
} from 'react-native';
88

99
// const disabledColor = '#BEBEBE';
1010

1111
export const renderButtonView = (name: string, callback: Function) => {
1212
return (
13-
<View key={name + '_parent'} style={styles.buttonContainer}>
14-
<Button
15-
color="white"
16-
key={name}
17-
title={name}
18-
onPress={() => {
19-
callback();
20-
}}
21-
/>
22-
</View>
13+
<TouchableOpacity
14+
key={name + '_parent'}
15+
style={styles.buttonContainer}
16+
onPress={() => {
17+
callback();
18+
}}
19+
>
20+
<Text style={styles.buttonText}>{name}</Text>
21+
</TouchableOpacity>
2322
);
2423
};
2524

@@ -62,7 +61,15 @@ const styles = StyleSheet.create({
6261
borderRadius: 8,
6362
marginVertical: 10,
6463
marginHorizontal: 10,
65-
overflow: 'hidden',
64+
paddingVertical: 12,
65+
paddingHorizontal: 16,
66+
alignItems: 'center',
67+
justifyContent: 'center',
68+
},
69+
buttonText: {
70+
color: 'white',
71+
fontSize: 16,
72+
fontWeight: '600',
6673
},
6774
textInput: {
6875
marginHorizontal: 10,

examples/RNOneSignalTS/ios/RNOneSignalTS.xcodeproj/project.pbxproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,14 @@
191191
inputFileListPaths = (
192192
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks-${CONFIGURATION}-input-files.xcfilelist",
193193
);
194+
inputPaths = (
195+
);
194196
name = "[CP] Embed Pods Frameworks";
195197
outputFileListPaths = (
196198
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks-${CONFIGURATION}-output-files.xcfilelist",
197199
);
200+
outputPaths = (
201+
);
198202
runOnlyForDeploymentPostprocessing = 0;
199203
shellPath = /bin/sh;
200204
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks.sh\"\n";
@@ -230,10 +234,14 @@
230234
inputFileListPaths = (
231235
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources-${CONFIGURATION}-input-files.xcfilelist",
232236
);
237+
inputPaths = (
238+
);
233239
name = "[CP] Copy Pods Resources";
234240
outputFileListPaths = (
235241
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources-${CONFIGURATION}-output-files.xcfilelist",
236242
);
243+
outputPaths = (
244+
);
237245
runOnlyForDeploymentPostprocessing = 0;
238246
shellPath = /bin/sh;
239247
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources.sh\"\n";
@@ -260,6 +268,7 @@
260268
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
261269
CLANG_ENABLE_MODULES = YES;
262270
CURRENT_PROJECT_VERSION = 1;
271+
DEVELOPMENT_TEAM = 99SW8E36CT;
263272
ENABLE_BITCODE = NO;
264273
INFOPLIST_FILE = RNOneSignalTS/Info.plist;
265274
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
@@ -273,7 +282,7 @@
273282
"-ObjC",
274283
"-lc++",
275284
);
276-
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
285+
PRODUCT_BUNDLE_IDENTIFIER = com.onesignal.example;
277286
PRODUCT_NAME = RNOneSignalTS;
278287
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
279288
SWIFT_VERSION = 5.0;
@@ -288,6 +297,7 @@
288297
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289298
CLANG_ENABLE_MODULES = YES;
290299
CURRENT_PROJECT_VERSION = 1;
300+
DEVELOPMENT_TEAM = 99SW8E36CT;
291301
INFOPLIST_FILE = RNOneSignalTS/Info.plist;
292302
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
293303
LD_RUNPATH_SEARCH_PATHS = (
@@ -300,7 +310,7 @@
300310
"-ObjC",
301311
"-lc++",
302312
);
303-
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
313+
PRODUCT_BUNDLE_IDENTIFIER = com.onesignal.example;
304314
PRODUCT_NAME = RNOneSignalTS;
305315
SWIFT_VERSION = 5.0;
306316
VERSIONING_SYSTEM = "apple-generic";

0 commit comments

Comments
 (0)