Skip to content

Commit 9569b97

Browse files
author
crow
committed
Get examples running
1 parent c3fd2bc commit 9569b97

File tree

9 files changed

+10178
-22489
lines changed

9 files changed

+10178
-22489
lines changed

example/android/gradlew.bat

+12-13
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
46+
echo. 1>&2
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48+
echo. 1>&2
49+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50+
echo location of your Java installation. 1>&2
5151

5252
goto fail
5353

@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757

5858
if exist "%JAVA_EXE%" goto execute
5959

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
60+
echo. 1>&2
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62+
echo. 1>&2
63+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64+
echo location of your Java installation. 1>&2
6565

6666
goto fail
6767

@@ -81,13 +81,12 @@ if %ERRORLEVEL% equ 0 goto mainEnd
8181
:fail
8282
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8383
rem the _cmd.exe /c_ return code!
84-
8584
set EXIT_CODE=%ERRORLEVEL%
8685
if %EXIT_CODE% equ 0 set EXIT_CODE=1
8786
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
88-
exit /b %EXIT_CODE%1
87+
exit /b %EXIT_CODE%
8988

9089
:mainEnd
9190
if "%OS%"=="Windows_NT" endlocal
9291

93-
:omega
92+
:omega

example/ios/.xcode.env.local

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export NODE_BINARY=/opt/homebrew/bin/node
2+

example/ios/AirshipExample.xcodeproj/project.pbxproj

+74-62
Large diffs are not rendered by default.

example/ios/Podfile

-10
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,5 @@ target 'AirshipExample' do
5151
config[:reactNativePath],
5252
:mac_catalyst_enabled => false
5353
)
54-
__apply_Xcode_12_5_M1_post_install_workaround(installer)
55-
installer.pods_project.targets.each do |target|
56-
target.build_configurations.each do |config|
57-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
58-
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION']
59-
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
60-
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
61-
end
62-
end
63-
end
6454
end
6555
end

0 commit comments

Comments
 (0)