Skip to content

Commit c1c9c51

Browse files
committed
1 parent 3f2da28 commit c1c9c51

File tree

4 files changed

+78
-82
lines changed

4 files changed

+78
-82
lines changed

bitrise/bitrise-android.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ workflows:
1212
title: Activate App SSH key
1313
inputs:
1414
- ssh_key_save_path: "$HOME/.ssh/steplib_ssh_step_id_rsa"
15-
15+
1616
1717
title: npm install
1818
inputs:
@@ -28,15 +28,11 @@ workflows:
2828
2929
npm test
3030
31-
32-
title: create config
31+
3332
inputs:
34-
- content: |-
35-
#!/bin/bash
36-
touch src/lib/config.js
37-
38-
echo "module.exports={ PARSE: {APP_ID: '$PARSE_APP_ID' ,REST_API_KEY: '$PARSE_REST_API_KEY', SESSION_TOKEN_KEY: 'SESSION_TOKEN_KEY'}}" >> src/lib/config.js
39-
33+
- source: "$BITRISEIO_snowflakeserver_URL"
34+
- destination: src/lib/config.js
35+
4036
inputs:
4137
- platform: android
4238
- entry_file: "./index.android.js"
@@ -57,5 +53,5 @@ workflows:
5753
#!/bin/bash
5854
5955
cp $BITRISE_SIGNED_APK_PATH $BITRISE_DEPLOY_DIR/signed-app-release.apk
60-
56+
6157
is_always_run: false

bitrise/bitrise-ios.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ workflows:
2020
title: Activate App SSH key
2121
inputs:
2222
- ssh_key_save_path: "$HOME/.ssh/steplib_ssh_step_id_rsa"
23-
23+
2424
inputs:
2525
- clone_depth: '1'
2626
@@ -38,20 +38,16 @@ workflows:
3838
3939
npm test
4040
41-
42-
title: create config
41+
4342
inputs:
44-
- content: |-
45-
#!/bin/bash
46-
touch src/lib/config.js
47-
48-
echo "module.exports={ PARSE: {APP_ID: '$PARSE_APP_ID' ,REST_API_KEY: '$PARSE_REST_API_KEY', SESSION_TOKEN_KEY: 'SESSION_TOKEN_KEY'}}" >> src/lib/config.js
49-
43+
- source: "$BITRISEIO_snowflakeserver_URL"
44+
- destination: src/lib/config.js
45+
5046
inputs:
5147
- entry_file: "./index.ios.js"
5248
- out: ios/main.jsbundle
5349
5450
5551
inputs:
5652
- lane: ios beta
57-
53+

ios/snowflake.xcodeproj/project.pbxproj

+4
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,7 @@
732732
isa = XCBuildConfiguration;
733733
buildSettings = {
734734
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
735+
CURRENT_PROJECT_VERSION = 1;
735736
DEAD_CODE_STRIPPING = NO;
736737
HEADER_SEARCH_PATHS = (
737738
"$(inherited)",
@@ -748,13 +749,15 @@
748749
"-lc++",
749750
);
750751
PRODUCT_NAME = snowflake;
752+
VERSIONING_SYSTEM = "apple-generic";
751753
};
752754
name = Debug;
753755
};
754756
13B07F951A680F5B00A75B9A /* Release */ = {
755757
isa = XCBuildConfiguration;
756758
buildSettings = {
757759
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
760+
CURRENT_PROJECT_VERSION = 1;
758761
HEADER_SEARCH_PATHS = (
759762
"$(inherited)",
760763
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
@@ -770,6 +773,7 @@
770773
"-lc++",
771774
);
772775
PRODUCT_NAME = snowflake;
776+
VERSIONING_SYSTEM = "apple-generic";
773777
};
774778
name = Release;
775779
};

ios/snowflake/Info.plist

+62-62
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>CFBundleDevelopmentRegion</key>
6-
<string>en</string>
7-
<key>CFBundleExecutable</key>
8-
<string>$(EXECUTABLE_NAME)</string>
9-
<key>CFBundleIdentifier</key>
10-
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
11-
<key>CFBundleInfoDictionaryVersion</key>
12-
<string>6.0</string>
13-
<key>CFBundleName</key>
14-
<string>$(PRODUCT_NAME)</string>
15-
<key>CFBundlePackageType</key>
16-
<string>APPL</string>
17-
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
19-
<key>CFBundleSignature</key>
20-
<string>????</string>
21-
<key>CFBundleVersion</key>
22-
<string>1</string>
23-
<key>LSRequiresIPhoneOS</key>
24-
<true/>
25-
<key>UILaunchStoryboardName</key>
26-
<string>LaunchScreen</string>
27-
<key>UIRequiredDeviceCapabilities</key>
28-
<array>
29-
<string>armv7</string>
30-
</array>
31-
<key>UISupportedInterfaceOrientations</key>
32-
<array>
33-
<string>UIInterfaceOrientationPortrait</string>
34-
<string>UIInterfaceOrientationLandscapeLeft</string>
35-
<string>UIInterfaceOrientationLandscapeRight</string>
36-
</array>
37-
<key>UIViewControllerBasedStatusBarAppearance</key>
38-
<false/>
39-
<key>NSLocationWhenInUseUsageDescription</key>
40-
<string/>
41-
<key>NSAppTransportSecurity</key>
42-
<dict>
43-
<key>NSAllowsArbitraryLoads</key>
44-
<true/>
45-
<key>NSExceptionDomains</key>
46-
<dict>
47-
<key>localhost</key>
48-
<dict>
49-
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
50-
<true/>
51-
</dict>
52-
</dict>
53-
</dict>
54-
<key>UIAppFonts</key>
55-
<array>
56-
<string>Entypo.ttf</string>
57-
<string>EvilIcons.ttf</string>
58-
<string>FontAwesome.ttf</string>
59-
<string>Foundation.ttf</string>
60-
<string>Ionicons.ttf</string>
61-
<string>MaterialIcons.ttf</string>
62-
<string>Octicons.ttf</string>
63-
<string>Zocial.ttf</string>
64-
</array>
65-
</dict>
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>APPL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>1.0</string>
23+
<key>LSRequiresIPhoneOS</key>
24+
<true/>
25+
<key>NSAppTransportSecurity</key>
26+
<dict>
27+
<key>NSAllowsArbitraryLoads</key>
28+
<true/>
29+
<key>NSExceptionDomains</key>
30+
<dict>
31+
<key>localhost</key>
32+
<dict>
33+
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
34+
<true/>
35+
</dict>
36+
</dict>
37+
</dict>
38+
<key>NSLocationWhenInUseUsageDescription</key>
39+
<string></string>
40+
<key>UIAppFonts</key>
41+
<array>
42+
<string>Entypo.ttf</string>
43+
<string>EvilIcons.ttf</string>
44+
<string>FontAwesome.ttf</string>
45+
<string>Foundation.ttf</string>
46+
<string>Ionicons.ttf</string>
47+
<string>MaterialIcons.ttf</string>
48+
<string>Octicons.ttf</string>
49+
<string>Zocial.ttf</string>
50+
</array>
51+
<key>UILaunchStoryboardName</key>
52+
<string>LaunchScreen</string>
53+
<key>UIRequiredDeviceCapabilities</key>
54+
<array>
55+
<string>armv7</string>
56+
</array>
57+
<key>UISupportedInterfaceOrientations</key>
58+
<array>
59+
<string>UIInterfaceOrientationPortrait</string>
60+
<string>UIInterfaceOrientationLandscapeLeft</string>
61+
<string>UIInterfaceOrientationLandscapeRight</string>
62+
</array>
63+
<key>UIViewControllerBasedStatusBarAppearance</key>
64+
<false/>
65+
</dict>
6666
</plist>

0 commit comments

Comments
 (0)