Skip to content

Commit 38d0ace

Browse files
committed
change team + bundle id
1 parent 3cd3302 commit 38d0ace

File tree

4 files changed

+45
-15
lines changed

4 files changed

+45
-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: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
5DCACB8F33CDC322A6C60F78 /* libPods-RNOneSignalTS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNOneSignalTS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
2525
761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = RNOneSignalTS/AppDelegate.swift; sourceTree = "<group>"; };
2626
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNOneSignalTS/LaunchScreen.storyboard; sourceTree = "<group>"; };
27+
E816AD882E84A044009D8C37 /* RNOneSignalTS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RNOneSignalTS.entitlements; path = RNOneSignalTS/RNOneSignalTS.entitlements; sourceTree = "<group>"; };
2728
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
2829
/* End PBXFileReference section */
2930

@@ -42,6 +43,7 @@
4243
13B07FAE1A68108700A75B9A /* RNOneSignalTS */ = {
4344
isa = PBXGroup;
4445
children = (
46+
E816AD882E84A044009D8C37 /* RNOneSignalTS.entitlements */,
4547
13B07FB51A68108700A75B9A /* Images.xcassets */,
4648
761780EC2CA45674006654EE /* AppDelegate.swift */,
4749
13B07FB61A68108700A75B9A /* Info.plist */,
@@ -191,10 +193,14 @@
191193
inputFileListPaths = (
192194
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks-${CONFIGURATION}-input-files.xcfilelist",
193195
);
196+
inputPaths = (
197+
);
194198
name = "[CP] Embed Pods Frameworks";
195199
outputFileListPaths = (
196200
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks-${CONFIGURATION}-output-files.xcfilelist",
197201
);
202+
outputPaths = (
203+
);
198204
runOnlyForDeploymentPostprocessing = 0;
199205
shellPath = /bin/sh;
200206
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-frameworks.sh\"\n";
@@ -230,10 +236,14 @@
230236
inputFileListPaths = (
231237
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources-${CONFIGURATION}-input-files.xcfilelist",
232238
);
239+
inputPaths = (
240+
);
233241
name = "[CP] Copy Pods Resources";
234242
outputFileListPaths = (
235243
"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources-${CONFIGURATION}-output-files.xcfilelist",
236244
);
245+
outputPaths = (
246+
);
237247
runOnlyForDeploymentPostprocessing = 0;
238248
shellPath = /bin/sh;
239249
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNOneSignalTS/Pods-RNOneSignalTS-resources.sh\"\n";
@@ -259,7 +269,9 @@
259269
buildSettings = {
260270
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
261271
CLANG_ENABLE_MODULES = YES;
272+
CODE_SIGN_ENTITLEMENTS = RNOneSignalTS/RNOneSignalTS.entitlements;
262273
CURRENT_PROJECT_VERSION = 1;
274+
DEVELOPMENT_TEAM = 99SW8E36CT;
263275
ENABLE_BITCODE = NO;
264276
INFOPLIST_FILE = RNOneSignalTS/Info.plist;
265277
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
@@ -273,7 +285,7 @@
273285
"-ObjC",
274286
"-lc++",
275287
);
276-
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
288+
PRODUCT_BUNDLE_IDENTIFIER = com.onesignal.example;
277289
PRODUCT_NAME = RNOneSignalTS;
278290
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
279291
SWIFT_VERSION = 5.0;
@@ -287,7 +299,9 @@
287299
buildSettings = {
288300
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289301
CLANG_ENABLE_MODULES = YES;
302+
CODE_SIGN_ENTITLEMENTS = RNOneSignalTS/RNOneSignalTS.entitlements;
290303
CURRENT_PROJECT_VERSION = 1;
304+
DEVELOPMENT_TEAM = 99SW8E36CT;
291305
INFOPLIST_FILE = RNOneSignalTS/Info.plist;
292306
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
293307
LD_RUNPATH_SEARCH_PATHS = (
@@ -300,7 +314,7 @@
300314
"-ObjC",
301315
"-lc++",
302316
);
303-
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
317+
PRODUCT_BUNDLE_IDENTIFIER = com.onesignal.example;
304318
PRODUCT_NAME = RNOneSignalTS;
305319
SWIFT_VERSION = 5.0;
306320
VERSIONING_SYSTEM = "apple-generic";
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>aps-environment</key>
6+
<string>development</string>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)