Skip to content

Commit 26ec530

Browse files
committed
feat: update example app
1 parent 603572e commit 26ec530

File tree

69 files changed

+3610
-3819
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3610
-3819
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
lib/
3+
example/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ android.iml
4242
**/android/**/build
4343
**/android/**/release
4444
**/android/**/debug
45+
!**/android/app/src/debug/AndroidManixest.xml
4546

4647
# Cocoapods
4748
#

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [unreleased] - 2024-02-28
9+
10+
- iOS SDK version: 6.8.0
11+
- Android SDK version: 14.0.1
12+
13+
### React Native
14+
15+
#### Fixed
16+
17+
- Resolved compatibility issue on Android with RN 0.77+
18+
819
## [3.13.0] - 2024-12-20
920

1021
- iOS SDK version: 6.6.3

android/src/main/java/com/freeraspreactnative/utils/Extensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ internal fun ReadableMap.getNestedArraySafe(key: String): Array<Array<String>> {
6161
if (this.hasKey(key)) {
6262
val inputArray = this.getArray(key)!!
6363
for (i in 0 until inputArray.size()) {
64-
outArray.add(inputArray.getArray(i).toPrimitiveArray())
64+
inputArray.getArray(i)?.let { outArray.add(it.toPrimitiveArray()) }
6565
}
6666
}
6767
return outArray.toTypedArray()

example/.eslintrc.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@react-native-community',
4+
rules: {
5+
'prettier/prettier': [
6+
'error',
7+
{
8+
quoteProps: 'consistent',
9+
singleQuote: true,
10+
tabWidth: 2,
11+
trailingComma: 'es5',
12+
useTabs: false,
13+
},
14+
],
15+
},
16+
};

example/.gitignore

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
**/.xcode.env.local
24+
25+
# Android/IntelliJ
26+
#
27+
build/
28+
.idea
29+
.gradle
30+
local.properties
31+
*.iml
32+
*.hprof
33+
.cxx/
34+
*.keystore
35+
!debug.keystore
36+
.kotlin/
37+
38+
# node.js
39+
#
40+
node_modules/
41+
npm-debug.log
42+
yarn-error.log
43+
44+
# fastlane
45+
#
46+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47+
# screenshots whenever they are needed.
48+
# For more information about the recommended setup visit:
49+
# https://docs.fastlane.tools/best-practices/source-control/
50+
51+
**/fastlane/report.xml
52+
**/fastlane/Preview.html
53+
**/fastlane/screenshots
54+
**/fastlane/test_output
55+
56+
# Bundle artifact
57+
*.jsbundle
58+
59+
# Ruby / CocoaPods
60+
**/Pods/
61+
/vendor/bundle/
62+
63+
# Temporary files created by Metro to check the health of the file watcher
64+
.metro-health-check*
65+
66+
# testing
67+
/coverage
68+
69+
# Yarn
70+
.yarn/*
71+
!.yarn/patches
72+
!.yarn/plugins
73+
!.yarn/releases
74+
!.yarn/sdks
75+
!.yarn/versions

example/.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/.prettierrc.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
arrowParens: 'always',
3+
bracketSameLine: true,
4+
bracketSpacing: true,
5+
singleQuote: true,
6+
trailingComma: 'all',
7+
quoteProps: 'consistent',
8+
singleQuote: true,
9+
tabWidth: 2,
10+
trailingComma: 'es5',
11+
useTabs: false,
12+
};

example/.ruby-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/.watchmanconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

0 commit comments

Comments
 (0)