Skip to content

Commit 44aeb80

Browse files
1.2.1 (#67)
### 🔄 Updated: - **QuickBlox SDK**: Updated to version `0.12.2`. - **React Native**: Upgraded from `0.72.6` to `0.76.3`. - **React**: Upgraded to `18.3.1`. - **Hermes Engine**: Added support with version `0.11.0`. - **Dependencies**: - `react-native-image-picker`: Updated to `^8.2.1`. - `@react-native-async-storage/async-storage`: Updated to `^2.1.2`. - `@react-navigation/native`: Updated to `^7.1.7`. - `@react-navigation/stack`: Updated to `^7.1.7`. - `@react-navigation/elements`: Updated to `^2.4.0`. - `react-native-gesture-handler`: Updated to `^2.25.0`. - `react-native-screens`: Updated to `^4.10.0`. - `react-native-safe-area-context`: Updated to `^5.4.0`. - `react-native-svg`: Updated to `^15.8.0`. - `react-native-video`: Updated to `^6.14.1`. - **DevDependencies**: - Updated Babel, ESLint, Jest, and other tooling to support React Native `0.76.3`. - Added TypeScript configuration support via `@react-native/typescript-config`. ### 🆕 Added: - Android Attachment Menu: Replaced native `UIManager.showPopupMenu` with a custom modal-based UI for selecting attachment types (e.g. selecting or taking a photo).
1 parent 4eb1bbe commit 44aeb80

File tree

30 files changed

+981
-1077
lines changed

30 files changed

+981
-1077
lines changed

chat-sample/.gitignore

Lines changed: 155 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# OSX
2-
#
3-
*~
4-
.DS_Store
5-
61
# Xcode
7-
#
8-
build/
2+
!**/*.xcodeproj
3+
!**/*.pbxproj
4+
!**/*.xcworkspacedata
5+
!**/*.xcsettings
6+
!**/*.xcscheme
97
*.pbxuser
108
!default.pbxuser
119
*.mode1v3
@@ -14,37 +12,170 @@ build/
1412
!default.mode2v3
1513
*.perspectivev3
1614
!default.perspectivev3
15+
!default.xcworkspace
1716
xcuserdata
17+
profile
1818
*.xccheckout
1919
*.moved-aside
2020
DerivedData
21+
.idea/
22+
Pods/
23+
Podfile.lock
24+
.swiftpm
25+
Package.resolved
2126
*.hmap
2227
*.ipa
2328
*.xcuserstate
29+
project.xcworkspace
30+
**/.xcode.env.local
2431

25-
# Android/IntelliJ
26-
#
27-
build/
32+
# Gradle
33+
/build/
34+
.cxx/
35+
*.keystore
36+
!debug.keystore
37+
/packages/rn-tester/build
38+
/packages/rn-tester/android/app/.cxx/
39+
/packages/rn-tester/android/app/build/
40+
/packages/rn-tester/android/app/gradle/
41+
/packages/rn-tester/android/app/gradlew
42+
/packages/rn-tester/android/app/gradlew.bat
43+
/packages/react-native/ReactAndroid/build/
44+
/packages/react-native/ReactAndroid/.cxx/
45+
/packages/react-native/ReactAndroid/gradle/
46+
/packages/react-native/ReactAndroid/gradlew
47+
/packages/react-native/ReactAndroid/gradlew.bat
48+
/packages/react-native/ReactAndroid/external-artifacts/build/
49+
/packages/react-native/ReactAndroid/external-artifacts/artifacts/
50+
/packages/react-native/ReactAndroid/hermes-engine/build/
51+
/packages/react-native/ReactAndroid/hermes-engine/.cxx/
52+
/packages/helloworld/android/app/build/
53+
/packages/helloworld/android/build/
54+
/packages/react-native-popup-menu-android/android/build/
55+
/packages/react-native-test-library/android/build/
56+
57+
# Buck
58+
.buckd
59+
buck-out
60+
/.lsp.buckd
61+
/.lsp-buck-out
62+
/packages/react-native/ReactAndroid/src/main/jni/prebuilt/lib/
63+
/packages/react-native/ReactAndroid/src/main/gen
64+
/.cpplsp.buckd
65+
66+
# Android Studio
67+
.project
68+
.settings
69+
.classpath
70+
71+
# Watchman
72+
.watchmanconfig
73+
74+
# Android
2875
.idea
2976
.gradle
3077
local.properties
3178
*.iml
32-
*.hprof
79+
/packages/react-native/android/*
80+
!/packages/react-native/android/README.md
3381

34-
# node.js
35-
#
36-
node_modules/
37-
npm-debug.log
38-
yarn-error.log
82+
# Node
83+
node_modules
84+
*.log
85+
.nvm
86+
package-lock.json
3987

40-
# BUCK
41-
buck-out/
42-
\.buckd/
43-
*.keystore
44-
!debug.keystore
88+
# OS X
89+
.DS_Store
90+
build/
4591

46-
# LOCK
47-
package-lock.json
92+
# Test generated files
93+
*.js.meta
94+
95+
/coverage
96+
/third-party
97+
98+
# Yarn
99+
.yarn/*
100+
!.yarn/patches
101+
!.yarn/plugins
102+
!.yarn/releases
103+
!.yarn/sdks
104+
!.yarn/versions
105+
106+
# Test Reports
107+
/reports
108+
109+
# Stack Dumps generated when programs crash (Ex. bash.exe.stackdump on Win)
110+
*.stackdump
111+
112+
# Root dir shouldn't have Xcode project
113+
/*.xcodeproj
114+
115+
# ReactCommon subdir shouldn't have Xcode project
116+
/packages/react-native/ReactCommon/**/*.xcodeproj
117+
118+
# Libs that shouldn't have Xcode project
119+
/packages/react-native/Libraries/FBLazyVector/**/*.xcodeproj
120+
/packages/react-native/Libraries/Required/**/*.xcodeproj
121+
/packages/react-native/React/CoreModules/**/*.xcodeproj
122+
/packages/react-native/React/FBReactNativeSpec/**/*.xcodeproj
123+
/packages/react-native-codegen/**/*.xcodeproj
124+
/packages/rn-tester/**/*.xcodeproj
125+
126+
# Ruby Gems (Bundler)
127+
/packages/react-native/vendor
128+
/packages/helloworld/vendor
129+
.ruby-version
130+
/**/.ruby-version
131+
vendor/
132+
133+
# iOS / CocoaPods
134+
**/Pods/
135+
/vendor/bundle/
136+
/packages/helloworld/ios/build/
137+
/packages/helloworld/ios/Pods/
138+
/packages/helloworld/ios/Podfile.lock
139+
/packages/rn-tester/Gemfile.lock
140+
/packages/**/RCTLegacyInteropComponents.mm
141+
142+
# Ignore RNTester specific Pods, but keep the __offline_mirrors__ here.
143+
/packages/rn-tester/Pods/*
144+
!/packages/rn-tester/Pods/__offline_mirrors_hermes__
145+
!/packages/rn-tester/Pods/__offline_mirrors_jsc__
146+
147+
# @react-native/codegen
148+
/packages/react-native/React/FBReactNativeSpec/FBReactNativeSpec
149+
/packages/react-native-codegen/lib
150+
/packages/react-native-codegen/tmp/
151+
/packages/react-native/ReactCommon/react/renderer/components/rncore/
152+
/packages/rn-tester/NativeModuleExample/ScreenshotManagerSpec*
153+
/**/RCTThirdPartyFabricComponentsProvider.*
154+
155+
# @react-native/codegen-typescript-test
156+
/packages/react-native-codegen-typescript-test/lib
157+
158+
# Additional SDKs
159+
/packages/react-native/sdks/download
160+
/packages/react-native/sdks/hermes
161+
/packages/react-native/sdks/hermesc
162+
/packages/react-native/sdks/hermes-engine/hermes-engine-from-local-source-dir.tar.gz
163+
164+
# Visual Studio Code (config dir - if present, this merges user defined
165+
# workspace settings on top of react-native.code-workspace)
166+
/.vscode
167+
168+
# Visual Studio
169+
.vs
170+
171+
# Android memory profiler files
172+
*.hprof
173+
174+
# Temporary files created by Metro to check the health of the file watcher
175+
.metro-health-check*
176+
177+
# CircleCI
178+
.circleci/generated_config.yml
48179

49180
# fastlane
50181
#
@@ -56,10 +187,5 @@ package-lock.json
56187
*/fastlane/report.xml
57188
*/fastlane/Preview.html
58189
*/fastlane/screenshots
190+
**/fastlane/test_output
59191

60-
# Bundle artifact
61-
*.jsbundle
62-
63-
# CocoaPods
64-
/ios/Pods/
65-
/ios/Podfile.lock

chat-sample/.vscode/launch.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,10 @@
66
"configurations": [
77
{
88
"name": "Debug iOS",
9-
"request": "launch",
10-
"type": "reactnative",
119
"cwd": "${workspaceFolder}",
12-
"platform": "ios"
13-
},
14-
{
15-
"type": "node",
10+
"type": "reactnative",
1611
"request": "launch",
17-
"name": "Launch Program",
18-
"skipFiles": [
19-
"<node_internals>/**"
20-
],
21-
"program": "${workspaceFolder}/index.js"
12+
"platform": "ios"
2213
}
2314
]
2415
}

chat-sample/android/app/build.gradle

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: "com.android.application"
2+
apply plugin: "org.jetbrains.kotlin.android"
23
apply plugin: "com.facebook.react"
34

45
/**
@@ -48,6 +49,9 @@ react {
4849
//
4950
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5051
// hermesFlags = ["-O", "-output-source-map"]
52+
53+
/* Autolinking */
54+
autolinkLibrariesWithApp()
5155
}
5256

5357
/**
@@ -70,7 +74,8 @@ def jscFlavor = 'org.webkit:android-jsc:+'
7074

7175
android {
7276
ndkVersion rootProject.ext.ndkVersion
73-
77+
78+
buildToolsVersion rootProject.ext.buildToolsVersion
7479
compileSdkVersion rootProject.ext.compileSdkVersion
7580

7681
namespace "com.quickblox.sample.reactnative.chat"
@@ -110,12 +115,6 @@ dependencies {
110115
// The version of react-native is set by the React Native Gradle Plugin
111116
implementation("com.facebook.react:react-android")
112117

113-
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
114-
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
115-
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
116-
}
117-
118-
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
119118
if (hermesEnabled.toBoolean()) {
120119
implementation("com.facebook.react:hermes-android")
121120
} else {
@@ -124,9 +123,8 @@ dependencies {
124123

125124
implementation 'androidx.appcompat:appcompat:1.2.0'
126125
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
127-
implementation 'com.google.firebase:firebase-analytics:17.3.0'
126+
// implementation 'com.google.firebase:firebase-analytics:17.3.0'
128127
implementation 'com.facebook.fresco:fresco:2.4.0'
129128
implementation 'com.facebook.fresco:animated-gif:2.0.0'
130129
}
131130
apply plugin: 'com.google.gms.google-services'
132-
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

0 commit comments

Comments
 (0)