Skip to content
Open
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c329fbd
fix android build on RN 0.79.x
addingama Feb 2, 2026
4abc88a
Implement new architecture support for placesSuggest and placesRetrie…
addingama Feb 3, 2026
d56a7a5
v2.25.0
addingama Feb 3, 2026
939de73
trigger lerna
addingama Feb 3, 2026
2f5899d
update npmrc
addingama Feb 3, 2026
e1a5d8c
Add .npmrc file for NPM_TOKEN configuration to facilitate publishing
addingama Feb 3, 2026
3fe08df
Update dependencies to version 2.25.0 for react-native-bildit-flybuy …
addingama Feb 3, 2026
6369e03
fix create order
addingama Feb 3, 2026
d8d8650
upgrade development app and use new architecture
addingama Feb 3, 2026
8fc7790
fix lerna version
addingama Feb 3, 2026
29a00df
v2.25.1-alpha.0
addingama Feb 3, 2026
73a4b46
Refactor createOrder method in RnFlybuyCore to use a single implement…
addingama Feb 3, 2026
c64041c
fix example app android
addingama Feb 3, 2026
cb85a69
Enhance RnFlybuyCore with new architecture support for order manageme…
addingama Feb 3, 2026
cd4983a
v2.25.1-alpha.1
addingama Feb 3, 2026
6c6bbfe
Refactor Xcode project settings by removing unused input and output p…
addingama Feb 3, 2026
9dabd19
update package.json for example app
addingama Feb 3, 2026
74878b1
improve updatePickupMethod on android to prevent kotlin error
addingama Feb 3, 2026
3f90fce
v2.25.1-alpha.2
addingama Feb 3, 2026
f4a1216
v2.25.1
addingama Feb 6, 2026
d199e17
add missing new architecture selector in ios
addingama Feb 16, 2026
c0a7ff9
fix crash in ios
addingama Feb 17, 2026
61611c3
v2.25.2-alpha.0
addingama Feb 17, 2026
8ae30af
fix crash in ios
addingama Feb 19, 2026
f6e4ebb
v2.25.2-alpha.1
addingama Feb 19, 2026
9bbf284
Fix create order in new architecture
addingama Feb 21, 2026
d327fbd
v2.25.2-alpha.2
addingama Feb 21, 2026
e66b511
v2.25.2
addingama Mar 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ yarn-error.log

packages/core/example/*
development-app/.env
development-app/vendor/
example-app/.env
example-epp/vendor/
.cursor/
.vscode/
**/.kotlin/
**/vendor/
22 changes: 19 additions & 3 deletions CollaboratorNote.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,28 @@

## How to Release

1. **Publish to npm:**
**Prerequisite:** Two-factor authentication (2FA) or a granular access token with **bypass 2FA** enabled is required to publish packages. Use your npm token as follows.

1. **Configure your npm token** (choose one):
- **Option A – Environment variable (CI or local):**
Create or edit `mono/.npmrc` (do not commit the token). Add:
```ini
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
```
Then run:
```sh
export NPM_TOKEN=your_npm_token_here
cd mono && npx lerna publish
```
- **Option B – Log in once:**
From `mono/` run `npm login` and follow the prompts. Then run `npx lerna publish` as needed.

2. **Publish to npm:**
- From the monorepo root, run:
```sh
npx lerna publish
cd mono && npx lerna publish
```
2. **Select the version:**
3. **Select the version:**


---
Expand Down
15 changes: 11 additions & 4 deletions development-app/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"

# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
# bound in the template on Cocoapods with next React Native release.
gem 'cocoapods', '>= 1.13', '< 1.15'
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
# 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'

# Ruby 3.4.0 has removed some libraries from the standard library.
gem 'bigdecimal'
gem 'logger'
gem 'benchmark'
gem 'mutex_m'
14 changes: 12 additions & 2 deletions development-app/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ GEM
json (>= 1.5.1)
atomos (0.1.3)
base64 (0.2.0)
benchmark (0.2.0)
bigdecimal (3.1.1)
claide (1.1.0)
cocoapods (1.14.3)
addressable (~> 2.8)
Expand Down Expand Up @@ -68,8 +70,10 @@ GEM
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2)
logger (1.5.0)
minitest (5.24.1)
molinillo (0.8.0)
mutex_m (0.1.1)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
Expand All @@ -95,8 +99,14 @@ PLATFORMS
ruby

DEPENDENCIES
activesupport (>= 6.1.7.5, < 7.1.0)
cocoapods (>= 1.13, < 1.15)
activesupport (>= 6.1.7.5, != 7.1.0)
benchmark
bigdecimal
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
concurrent-ruby (< 1.3.4)
logger
mutex_m
xcodeproj (< 1.26.0)

RUBY VERSION
ruby 2.7.4p191
Expand Down
25 changes: 13 additions & 12 deletions development-app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.grad
*/
react {
/* Folders */
// The root of your project, i.e. where "package.json" lives. Default is '..'
// root = file("../")
// The folder where the react-native NPM package is. Default is ../node_modules/react-native
// reactNativeDir = file("../node_modules/react-native")
// The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
// codegenDir = file("../node_modules/@react-native/codegen")
// The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
// cliFile = file("../node_modules/react-native/cli.js")
// The root of your project, i.e. where "package.json" lives. Default is '../..'
// root = file("../../")
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
// reactNativeDir = file("../../node_modules/react-native")
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
// codegenDir = file("../../node_modules/@react-native/codegen")
// The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
// cliFile = file("../../node_modules/react-native/cli.js")

/* Variants */
// The list of variants to that are debuggable. For those we're going to
Expand Down Expand Up @@ -50,6 +50,9 @@ react {
//
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
// hermesFlags = ["-O", "-output-source-map"]

/* Autolinking */
autolinkLibrariesWithApp()
}

/**
Expand All @@ -61,14 +64,14 @@ def enableProguardInReleaseBuilds = false
* The preferred build flavor of JavaScriptCore (JSC)
*
* For example, to use the international variant, you can use:
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
*
* The international variant includes ICU i18n library and necessary data
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
* give correct results when using with locales other than en-US. Note that
* this variant is about 6MiB larger per architecture than default.
*/
def jscFlavor = 'org.webkit:android-jsc:+'
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'

android {
ndkVersion rootProject.ext.ndkVersion
Expand Down Expand Up @@ -160,5 +163,3 @@ dependencies {
implementation('com.radiusnetworks.flybuy:live-status')

}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
1 change: 1 addition & 0 deletions development-app/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme"
android:supportsRtl="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
tools:replace="android:dataExtractionRules,android:fullBackupContent">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ 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.DefaultNewArchitectureEntryPoint
import com.facebook.react.soloader.OpenSourceMergedSoMapping
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
import com.facebook.react.defaults.DefaultReactNativeHost
import com.facebook.soloader.SoLoader
Expand Down Expand Up @@ -42,10 +43,16 @@ class MainApplication : Application(), ReactApplication {

override fun onCreate() {
super.onCreate()
SoLoader.init(this, false)
// Use standard SoLoader init (matches ReactInstanceManager) so feature flags and TurboModules
// load in the correct order. OpenSourceMergedSoMapping can cause bridgeless to stay true.
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()
// New Architecture with bridgeless mode (TurboModules + Fabric + Bridgeless).
DefaultNewArchitectureEntryPoint.load(
turboModulesEnabled = true,
fabricEnabled = true,
bridgelessEnabled = false
)
}

// Native configure
Expand Down
8 changes: 4 additions & 4 deletions development-app/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 26
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.22"
ndkVersion = "27.1.12297006"
kotlinVersion = "2.0.21"
flybuyVersion = "2.15.2" // Modify this to update the version
}
repositories {
Expand Down
4 changes: 1 addition & 3 deletions development-app/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using
Expand All @@ -34,7 +32,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=false
newArchEnabled=true

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
10 changes: 6 additions & 4 deletions development-app/android/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion development-app/android/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion development-app/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
plugins { id("com.facebook.react.settings") }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
rootProject.name = 'example'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')
28 changes: 21 additions & 7 deletions development-app/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'fileutils'

# Resolve react_native_pods.rb with node to allow for hoisting
def node_require(script)
# Resolve script with node to allow for hoisting
Expand All @@ -16,10 +18,12 @@ prepare_react_native_project!

setup_permissions([
'LocationWhenInUse',
'Notifications'
'Notifications',
'LocationAlways',
])

ENV['RCT_NEW_ARCH_ENABLED'] = '0'
# Enable New Architecture
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
Expand All @@ -35,11 +39,6 @@ target 'development-app' do
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

target 'development-appTests' do
inherit! :complete
# Pods for testing
end

post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
Expand All @@ -48,5 +47,20 @@ target 'development-app' do
:mac_catalyst_enabled => false,
# :ccache_enabled => true
)

# Ensure ReactCodegen module map is available at path expected by the project.
# With use_frameworks!, CocoaPods may not create Headers/Public/React_Codegen.
pods_root = installer.sandbox.root
codegen_headers = File.join(pods_root, 'Headers', 'Public', 'React_Codegen')
codegen_target_support = File.join(pods_root, 'Target Support Files', 'ReactCodegen')
[codegen_headers].each do |dir|
FileUtils.mkdir_p(dir) unless File.directory?(dir)
end
modulemap_src = File.join(codegen_target_support, 'ReactCodegen.modulemap')
modulemap_dst = File.join(codegen_headers, 'React-Codegen.modulemap')
umbrella_src = File.join(codegen_target_support, 'ReactCodegen-umbrella.h')
umbrella_dst = File.join(codegen_headers, 'ReactCodegen-umbrella.h')
FileUtils.cp(modulemap_src, modulemap_dst) if File.exist?(modulemap_src)
FileUtils.cp(umbrella_src, umbrella_dst) if File.exist?(umbrella_src)
end
end
Loading