Commit 1053bfa
authored
Update Android SDK to 17.0.0 and bump version to 8.7.0 (#300)
* Update Android SDK to 17.0.0 and bump version to 8.7.0
- Updated Android SDK dependency from 15.16.+ to 17.0.0
- Bumped package version from 8.6.0 to 8.7.0
- Adds support for Dark Mode on Android (currently in beta)
* Fix Android SDK 17.0.0 compatibility issues
- Remove deprecated RNIntercomPushBroadcastReceiver class (no longer exists in SDK 17.0.0)
- Update Android Gradle Plugin to 8.6.1 (required for new dependencies)
- Update Gradle wrapper to 8.7 (required for AGP 8.6.1)
- Remove RNIntercomPushBroadcastReceiver references from AndroidManifest.xml and README
- Add suppressUnsupportedCompileSdk property to suppress warnings
These changes are required for compatibility with Intercom Android SDK 17.0.0
* Remove lock files from example directory
- Remove example/package-lock.json
- Remove example/yarn.lock
These lock files should be generated locally and not committed to the repository.
* Fix dependency issues: Add packageManager field and resolve undici version conflict
- Add packageManager field to satisfy Corepack requirements
- Add undici resolution to force compatible version ^6.21.3
- Regenerate yarn.lock with compatible dependency versions
- Fixes Node.js version conflict with [email protected] requiring >=20.18.1
* Strengthen undici resolution to handle all version requests
- Change undici resolution from ^6.21.3 to exact 6.21.3
- Add **/undici resolution to catch nested dependencies
- Regenerate yarn.lock to ensure undici@^7.10.0 resolves to 6.21.3
- Fixes remaining Node.js compatibility issues
* Configure project to work without lock files
- Add comprehensive dependency resolutions for problematic packages
- Pin exact versions for undici, glob, rimraf, and @types/node
- Add yarn.lock and package-lock.json to .gitignore
- Remove yarn.lock from git tracking
- Ensures consistent builds even without committed lock files
* Fix dependency compatibility issue by adding npm overrides
- Added npm overrides to package.json to complement existing yarn resolutions
- Fixed undici version conflict that was causing Node.js compatibility issues
- Ensures [email protected] is used consistently across all dependencies
- Resolves build failures in CI environments with Node.js 20.17.0
* Fix CircleCI dependency installation with --ignore-engines flag
- Updated CircleCI config to use 'yarn install --ignore-engines'
- This resolves Node.js compatibility issues with [email protected]
- Enhanced yarn resolutions to cover more specific dependency paths
- Added yarn.lock file to lock dependency versions consistently
- All tests, linting, and builds now pass successfully
Fixes the error: '[email protected]: The engine "node" is incompatible with this module. Expected version ">=20.18.1". Got "20.17.0"'1 parent eb1cde7 commit 1053bfa
File tree
16 files changed
+36
-37389
lines changed- .circleci
- android
- gradle/wrapper
- src/main/java/com/intercom/reactnative
- example
- android
- app/src/main
- gradle/wrapper
- sandboxes/NotificationsSandbox/android
- gradle/wrapper
16 files changed
+36
-37389
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | 225 | | |
230 | 226 | | |
231 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
Lines changed: 0 additions & 6 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
38 | 35 | | |
39 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments