generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 35
chore: Update to RN 0.76.9 #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Werror
merged 3 commits into
aws:main
from
Juozas-Petkelis:chore/example-bump-RN-0.76.9
Oct 30, 2025
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| source 'https://rubygems.org' | ||
|
|
||
| # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version | ||
| ruby ">= 2.6.10" | ||
|
|
||
| # Exclude problematic versions of cocoapods and activesupport that causes build failures. | ||
| gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' | ||
| gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' | ||
| gem 'xcodeproj', '< 1.26.0' | ||
| gem 'concurrent-ruby', '< 1.3.4' |
Large diffs are not rendered by default.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
...android/app/src/debug/java/com/example/amazonivsreactnativeplayer/ReactNativeFlipper.java
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
example/android/app/src/main/java/com/example/amazonivsreactnativeplayer/MainActivity.java
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
example/android/app/src/main/java/com/example/amazonivsreactnativeplayer/MainActivity.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| package com.example.amazonivsreactnativeplayer; | ||
|
|
||
| import com.facebook.react.ReactActivity | ||
| import com.facebook.react.ReactActivityDelegate | ||
| import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled | ||
| import com.facebook.react.defaults.DefaultReactActivityDelegate | ||
|
|
||
| class MainActivity : ReactActivity() { | ||
|
|
||
| /** | ||
| * Returns the name of the main component registered from JavaScript. This is used to schedule | ||
| * rendering of the component. | ||
| */ | ||
| override fun getMainComponentName(): String = "AmazonIvsExample" | ||
|
|
||
| /** | ||
| * Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] | ||
| * which allows you to enable New Architecture with a single boolean flags [fabricEnabled] | ||
| */ | ||
| override fun createReactActivityDelegate(): ReactActivityDelegate = | ||
| DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled) | ||
| } |
96 changes: 0 additions & 96 deletions
96
...ple/android/app/src/main/java/com/example/amazonivsreactnativeplayer/MainApplication.java
This file was deleted.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
example/android/app/src/main/java/com/example/amazonivsreactnativeplayer/MainApplication.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| package com.example.amazonivsreactnativeplayer; | ||
|
|
||
| import android.app.Application | ||
| import com.facebook.react.PackageList | ||
| import com.facebook.react.ReactApplication | ||
| import com.facebook.react.ReactHost | ||
| import com.facebook.react.ReactNativeHost | ||
| import com.facebook.react.ReactPackage | ||
| import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load | ||
| import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost | ||
| import com.facebook.react.defaults.DefaultReactNativeHost | ||
| import com.facebook.react.soloader.OpenSourceMergedSoMapping | ||
| import com.facebook.soloader.SoLoader | ||
|
|
||
| import com.amazonaws.ivs.reactnative.player.AmazonIvsPackage | ||
|
|
||
| class MainApplication : Application(), ReactApplication { | ||
|
|
||
| override val reactNativeHost: ReactNativeHost = | ||
| object : DefaultReactNativeHost(this) { | ||
| override fun getPackages(): List<ReactPackage> = | ||
| PackageList(this).packages.apply { | ||
| // Packages that cannot be autolinked yet can be added manually here, for example: | ||
| // add(MyReactNativePackage()) | ||
| add(AmazonIvsPackage()) | ||
| } | ||
|
|
||
| override fun getJSMainModuleName(): String = "index" | ||
|
|
||
| override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG | ||
|
|
||
| override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED | ||
| override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED | ||
| } | ||
|
|
||
| override val reactHost: ReactHost | ||
| get() = getDefaultReactHost(applicationContext, reactNativeHost) | ||
|
|
||
| override fun onCreate() { | ||
| super.onCreate() | ||
| SoLoader.init(this, OpenSourceMergedSoMapping) | ||
| if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { | ||
| // If you opted-in for the New Architecture, we load the native entry point for this app. | ||
| load() | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.