├── modules └── radius │ ├── android │ ├── .gradle │ │ ├── 8.0 │ │ │ ├── gc.properties │ │ │ ├── fileChanges │ │ │ │ └── last-build.bin │ │ │ ├── dependencies-accessors │ │ │ │ ├── gc.properties │ │ │ │ └── dependencies-accessors.lock │ │ │ ├── checksums │ │ │ │ └── checksums.lock │ │ │ └── fileHashes │ │ │ │ └── fileHashes.lock │ │ ├── vcs-1 │ │ │ └── gc.properties │ │ └── config.properties │ ├── build │ │ ├── intermediates │ │ │ ├── compile_symbol_list │ │ │ │ └── debug │ │ │ │ │ └── R.txt │ │ │ ├── navigation_json │ │ │ │ └── debug │ │ │ │ │ └── navigation.json │ │ │ ├── annotation_processor_list │ │ │ │ └── debug │ │ │ │ │ └── annotationProcessors.json │ │ │ ├── java_res │ │ │ │ └── debug │ │ │ │ │ └── out │ │ │ │ │ └── META-INF │ │ │ │ │ └── radius_debug.kotlin_module │ │ │ ├── symbol_list_with_package_name │ │ │ │ └── debug │ │ │ │ │ └── package-aware-r.txt │ │ │ ├── incremental │ │ │ │ └── debug │ │ │ │ │ └── packageDebugResources │ │ │ │ │ ├── compile-file-map.properties │ │ │ │ │ └── merger.xml │ │ │ ├── local_only_symbol_list │ │ │ │ └── debug │ │ │ │ │ └── R-def.txt │ │ │ ├── compile_r_class_jar │ │ │ │ └── debug │ │ │ │ │ └── R.jar │ │ │ ├── compile_library_classes_jar │ │ │ │ └── debug │ │ │ │ │ └── classes.jar │ │ │ ├── runtime_library_classes_jar │ │ │ │ └── debug │ │ │ │ │ └── classes.jar │ │ │ ├── aar_metadata │ │ │ │ └── debug │ │ │ │ │ └── aar-metadata.properties │ │ │ ├── javac │ │ │ │ └── debug │ │ │ │ │ └── classes │ │ │ │ │ └── me │ │ │ │ │ └── hojoisaac │ │ │ │ │ └── radius │ │ │ │ │ └── BuildConfig.class │ │ │ ├── merged_manifest │ │ │ │ └── debug │ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── aapt_friendly_merged_manifests │ │ │ │ └── debug │ │ │ │ │ └── aapt │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ └── output-metadata.json │ │ │ └── manifest_merge_blame_file │ │ │ │ └── debug │ │ │ │ └── manifest-merger-blame-debug-report.txt │ │ ├── .transforms │ │ │ └── 86731365a7d2b45f1b8a0759cb81b132 │ │ │ │ ├── results.bin │ │ │ │ └── transformed │ │ │ │ └── classes │ │ │ │ └── classes_dex │ │ │ │ └── classes.dex │ │ ├── kotlin │ │ │ └── compileDebugKotlin │ │ │ │ ├── cacheable │ │ │ │ ├── caches-jvm │ │ │ │ │ ├── lookups │ │ │ │ │ │ ├── counters.tab │ │ │ │ │ │ ├── id-to-file.tab.keystream.len │ │ │ │ │ │ ├── file-to-id.tab.values.at │ │ │ │ │ │ ├── lookups.tab │ │ │ │ │ │ ├── lookups.tab_i │ │ │ │ │ │ ├── file-to-id.tab │ │ │ │ │ │ ├── id-to-file.tab │ │ │ │ │ │ ├── lookups.tab.len │ │ │ │ │ │ ├── file-to-id.tab.len │ │ │ │ │ │ ├── file-to-id.tab_i │ │ │ │ │ │ ├── id-to-file.tab.len │ │ │ │ │ │ ├── id-to-file.tab_i │ │ │ │ │ │ ├── lookups.tab_i.len │ │ │ │ │ │ ├── file-to-id.tab_i.len │ │ │ │ │ │ ├── id-to-file.tab_i.len │ │ │ │ │ │ ├── lookups.tab.values.at │ │ │ │ │ │ ├── lookups.tab.keystream.len │ │ │ │ │ │ ├── file-to-id.tab.keystream.len │ │ │ │ │ │ ├── id-to-file.tab.values.at │ │ │ │ │ │ ├── file-to-id.tab.keystream │ │ │ │ │ │ ├── id-to-file.tab.keystream │ │ │ │ │ │ └── lookups.tab.keystream │ │ │ │ │ ├── jvm │ │ │ │ │ │ └── kotlin │ │ │ │ │ │ │ ├── proto.tab.keystream.len │ │ │ │ │ │ │ ├── subtypes.tab.keystream.len │ │ │ │ │ │ │ ├── supertypes.tab.keystream.len │ │ │ │ │ │ │ ├── internal-name-to-source.tab.len │ │ │ │ │ │ │ ├── class-attributes.tab.keystream.len │ │ │ │ │ │ │ ├── class-fq-name-to-source.tab.keystream.len │ │ │ │ │ │ │ ├── class-attributes.tab.values.at │ │ │ │ │ │ │ ├── proto.tab │ │ │ │ │ │ │ ├── proto.tab_i │ │ │ │ │ │ │ ├── subtypes.tab │ │ │ │ │ │ │ ├── proto.tab.len │ │ │ │ │ │ │ ├── proto.tab_i.len │ │ │ │ │ │ │ ├── subtypes.tab_i │ │ │ │ │ │ │ ├── supertypes.tab │ │ │ │ │ │ │ ├── subtypes.tab.len │ │ │ │ │ │ │ ├── supertypes.tab_i │ │ │ │ │ │ │ ├── class-attributes.tab │ │ │ │ │ │ │ ├── proto.tab.values.at │ │ │ │ │ │ │ ├── subtypes.tab_i.len │ │ │ │ │ │ │ ├── supertypes.tab.len │ │ │ │ │ │ │ ├── supertypes.tab_i.len │ │ │ │ │ │ │ ├── class-attributes.tab_i │ │ │ │ │ │ │ ├── source-to-classes.tab │ │ │ │ │ │ │ ├── class-attributes.tab.len │ │ │ │ │ │ │ ├── source-to-classes.tab.len │ │ │ │ │ │ │ ├── source-to-classes.tab_i │ │ │ │ │ │ │ ├── class-attributes.tab_i.len │ │ │ │ │ │ │ ├── class-fq-name-to-source.tab │ │ │ │ │ │ │ ├── internal-name-to-source.tab │ │ │ │ │ │ │ ├── source-to-classes.tab_i.len │ │ │ │ │ │ │ ├── class-fq-name-to-source.tab_i │ │ │ │ │ │ │ ├── internal-name-to-source.tab_i │ │ │ │ │ │ │ ├── class-fq-name-to-source.tab.len │ │ │ │ │ │ │ ├── source-to-classes.tab.values.at │ │ │ │ │ │ │ ├── class-fq-name-to-source.tab_i.len │ │ │ │ │ │ │ ├── internal-name-to-source.tab_i.len │ │ │ │ │ │ │ ├── source-to-classes.tab.keystream.len │ │ │ │ │ │ │ ├── subtypes.tab.values.at │ │ │ │ │ │ │ ├── internal-name-to-source.tab.keystream.len │ │ │ │ │ │ │ ├── supertypes.tab.values.at │ │ │ │ │ │ │ ├── class-fq-name-to-source.tab.values.at │ │ │ │ │ │ │ ├── internal-name-to-source.tab.values.at │ │ │ │ │ │ │ ├── proto.tab.keystream │ │ │ │ │ │ │ ├── subtypes.tab.keystream │ │ │ │ │ │ │ ├── supertypes.tab.keystream │ │ │ │ │ │ │ ├── class-attributes.tab.keystream │ │ │ │ │ │ │ ├── source-to-classes.tab.keystream │ │ │ │ │ │ │ ├── class-fq-name-to-source.tab.keystream │ │ │ │ │ │ │ └── internal-name-to-source.tab.keystream │ │ │ │ │ └── inputs │ │ │ │ │ │ ├── source-to-output.tab │ │ │ │ │ │ ├── source-to-output.tab.len │ │ │ │ │ │ ├── source-to-output.tab_i │ │ │ │ │ │ ├── source-to-output.tab_i.len │ │ │ │ │ │ ├── source-to-output.tab.values.at │ │ │ │ │ │ ├── source-to-output.tab.keystream.len │ │ │ │ │ │ └── source-to-output.tab.keystream │ │ │ │ └── last-build.bin │ │ │ │ ├── local-state │ │ │ │ └── build-history.bin │ │ │ │ └── classpath-snapshot │ │ │ │ └── shrunk-classpath-snapshot.bin │ │ ├── tmp │ │ │ ├── kotlin-classes │ │ │ │ └── debug │ │ │ │ │ ├── META-INF │ │ │ │ │ └── radius_debug.kotlin_module │ │ │ │ │ └── me │ │ │ │ │ └── hojoisaac │ │ │ │ │ └── radius │ │ │ │ │ ├── RadiusModule.class │ │ │ │ │ ├── RadiusView.class │ │ │ │ │ ├── RadiusModule$definition$1$1.class │ │ │ │ │ ├── RadiusModule$definition$1$5$1.class │ │ │ │ │ ├── RadiusModule$definition$lambda$4$$inlined$View$1.class │ │ │ │ │ ├── RadiusModule$definition$lambda$4$$inlined$AsyncFunction$1.class │ │ │ │ │ ├── RadiusModule$definition$lambda$4$$inlined$AsyncFunction$2.class │ │ │ │ │ ├── RadiusModule$definition$lambda$4$$inlined$AsyncFunction$3.class │ │ │ │ │ ├── RadiusModule$definition$lambda$4$lambda$3$$inlined$Prop$1.class │ │ │ │ │ ├── RadiusModule$definition$lambda$4$$inlined$FunctionWithoutArgs$1.class │ │ │ │ │ └── RadiusModule$definition$lambda$4$$inlined$FunctionWithoutArgs$2.class │ │ │ └── compileDebugJavaWithJavac │ │ │ │ └── previous-compilation-data.bin │ │ ├── generated │ │ │ └── source │ │ │ │ └── buildConfig │ │ │ │ └── debug │ │ │ │ └── me │ │ │ │ └── hojoisaac │ │ │ │ └── radius │ │ │ │ └── BuildConfig.java │ │ └── outputs │ │ │ └── logs │ │ │ └── manifest-merger-debug-report.txt │ ├── src │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── me │ │ │ └── hojoisaac │ │ │ └── radius │ │ │ ├── RadiusView.kt │ │ │ └── RadiusModule.kt │ ├── .idea │ │ ├── .gitignore │ │ ├── vcs.xml │ │ ├── migrations.xml │ │ ├── misc.xml │ │ └── gradle.xml │ ├── local.properties │ └── build.gradle │ ├── src │ ├── Radius.types.ts │ ├── RadiusModule.ts │ ├── RadiusView.web.tsx │ ├── RadiusModule.web.ts │ └── RadiusView.tsx │ ├── expo-module.config.json │ ├── ios │ ├── RadiusView.swift │ ├── Radius.podspec │ └── RadiusModule.swift │ └── index.ts ├── android ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── values-night │ │ │ │ │ └── colors.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ ├── drawable-hdpi │ │ │ │ │ └── splashscreen_image.png │ │ │ │ ├── drawable-mdpi │ │ │ │ │ └── splashscreen_image.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ │ └── splashscreen_image.png │ │ │ │ ├── drawable │ │ │ │ │ ├── splashscreen.xml │ │ │ │ │ └── rn_edit_text_material.xml │ │ │ │ ├── drawable-xxhdpi │ │ │ │ │ └── splashscreen_image.png │ │ │ │ ├── drawable-xxxhdpi │ │ │ │ │ └── splashscreen_image.png │ │ │ │ ├── values │ │ │ │ │ ├── colors.xml │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── styles.xml │ │ │ │ └── mipmap-anydpi-v26 │ │ │ │ │ ├── ic_launcher.xml │ │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── hojoisaac │ │ │ │ └── ioi │ │ │ │ ├── MainApplication.kt │ │ │ │ └── MainActivity.kt │ │ └── debug │ │ │ └── AndroidManifest.xml │ ├── debug.keystore │ ├── proguard-rules.pro │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── demo └── demo.mp4 ├── assets ├── icon.png ├── splash.png ├── favicon.png └── adaptive-icon.png ├── ios ├── Podfile.properties.json ├── ioi │ ├── Images.xcassets │ │ ├── Contents.json │ │ ├── SplashScreen.imageset │ │ │ ├── image.png │ │ │ └── Contents.json │ │ ├── SplashScreenBackground.imageset │ │ │ ├── image.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── App-Icon-1024x1024@1x.png │ │ │ └── Contents.json │ ├── ioi-Bridging-Header.h │ ├── noop-file.swift │ ├── AppDelegate.h │ ├── ioi.entitlements │ ├── main.m │ ├── Supporting │ │ └── Expo.plist │ ├── PrivacyInfo.xcprivacy │ ├── Info.plist │ ├── AppDelegate.mm │ └── SplashScreen.storyboard ├── ioi.xcworkspace │ └── contents.xcworkspacedata ├── .gitignore ├── .xcode.env ├── Podfile └── ioi.xcodeproj │ └── xcshareddata │ └── xcschemes │ └── ioi.xcscheme ├── tsconfig.json ├── babel.config.js ├── Readme.md ├── App.tsx ├── .gitignore ├── app.json ├── package.json └── src ├── components ├── bottom-sheet │ ├── CustomBg.tsx │ └── bottomSheet.tsx └── animated-button │ └── animatedButton.tsx ├── screen └── Home.tsx └── index.tsx /modules/radius/android/.gradle/8.0/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/radius/android/.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/colors.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/radius/android/.gradle/8.0/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/radius/android/.gradle/8.0/dependencies-accessors/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/compile_symbol_list/debug/R.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/navigation_json/debug/navigation.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /modules/radius/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /modules/radius/android/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /modules/radius/android/build/.transforms/86731365a7d2b45f1b8a0759cb81b132/results.bin: -------------------------------------------------------------------------------- 1 | o/classes 2 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab: -------------------------------------------------------------------------------- 1 | 5 2 | 0 -------------------------------------------------------------------------------- /demo/demo.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/demo/demo.mp4 -------------------------------------------------------------------------------- /assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/assets/icon.png -------------------------------------------------------------------------------- /assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/assets/splash.png -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/META-INF/radius_debug.kotlin_module: -------------------------------------------------------------------------------- 1 |  "* -------------------------------------------------------------------------------- /assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/assets/favicon.png -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len: -------------------------------------------------------------------------------- 1 | O -------------------------------------------------------------------------------- /ios/Podfile.properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "expo.jsEngine": "hermes", 3 | "EX_DEV_CLIENT_NETWORK_INSPECTOR": "true" 4 | } 5 | -------------------------------------------------------------------------------- /ios/ioi/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "expo" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/java_res/debug/out/META-INF/radius_debug.kotlin_module: -------------------------------------------------------------------------------- 1 |  "* -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt: -------------------------------------------------------------------------------- 1 | me.hojoisaac.radius 2 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len: -------------------------------------------------------------------------------- 1 | F -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len: -------------------------------------------------------------------------------- 1 | @ -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "expo/tsconfig.base", 3 | "compilerOptions": { 4 | "strict": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/assets/adaptive-icon.png -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/debug.keystore -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len: -------------------------------------------------------------------------------- 1 | @ -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len: -------------------------------------------------------------------------------- 1 | @ -------------------------------------------------------------------------------- /ios/ioi/ioi-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 31 12:43:39 WAT 2024 2 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/local_only_symbol_list/debug/R-def.txt: -------------------------------------------------------------------------------- 1 | R_DEF: Internal format may change without notice 2 | local 3 | -------------------------------------------------------------------------------- /ios/ioi/noop-file.swift: -------------------------------------------------------------------------------- 1 | // 2 | // @generated 3 | // A blank Swift file must be created for native modules with Swift files to work correctly. 4 | // 5 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /modules/radius/android/.gradle/config.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 31 13:07:39 WAT 2024 2 | java.home=/Users/ioi/Applications/Android Studio.app/Contents/jbr/Contents/Home 3 | -------------------------------------------------------------------------------- /modules/radius/src/Radius.types.ts: -------------------------------------------------------------------------------- 1 | export type ChangeEventPayload = { 2 | value: string; 3 | }; 4 | 5 | export type RadiusViewProps = { 6 | name: string; 7 | }; 8 | -------------------------------------------------------------------------------- /ios/ioi/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import 4 | 5 | @interface AppDelegate : EXAppDelegateWrapper 6 | 7 | @end 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at: -------------------------------------------------------------------------------- 1 | /Header Record For PersistentHashMapValueStorage -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at: -------------------------------------------------------------------------------- 1 | /Header Record For PersistentHashMapValueStorage -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/ioi/Images.xcassets/SplashScreen.imageset/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/ios/ioi/Images.xcassets/SplashScreen.imageset/image.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /modules/radius/android/.gradle/8.0/checksums/checksums.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/.gradle/8.0/checksums/checksums.lock -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/drawable-hdpi/splashscreen_image.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/drawable-mdpi/splashscreen_image.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/drawable-xhdpi/splashscreen_image.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/splashscreen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = function(api) { 2 | api.cache(true); 3 | return { 4 | presets: ['babel-preset-expo'], 5 | plugins: ["react-native-reanimated/plugin"], 6 | }; 7 | }; 8 | -------------------------------------------------------------------------------- /modules/radius/android/.gradle/8.0/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/.gradle/8.0/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/drawable-xxhdpi/splashscreen_image.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/drawable-xxxhdpi/splashscreen_image.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /ios/ioi/Images.xcassets/SplashScreenBackground.imageset/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/ios/ioi/Images.xcassets/SplashScreenBackground.imageset/image.png -------------------------------------------------------------------------------- /ios/ioi/Images.xcassets/AppIcon.appiconset/App-Icon-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/ios/ioi/Images.xcassets/AppIcon.appiconset/App-Icon-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/ioi/ioi.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Android/IntelliJ 6 | # 7 | build/ 8 | .idea 9 | .gradle 10 | local.properties 11 | *.iml 12 | *.hprof 13 | .cxx/ 14 | 15 | # Bundle artifacts 16 | *.jsbundle 17 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/compile_r_class_jar/debug/R.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/intermediates/compile_r_class_jar/debug/R.jar -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin -------------------------------------------------------------------------------- /modules/radius/android/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin -------------------------------------------------------------------------------- /modules/radius/android/.gradle/8.0/dependencies-accessors/dependencies-accessors.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/.gradle/8.0/dependencies-accessors/dependencies-accessors.lock -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/compile_library_classes_jar/debug/classes.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/intermediates/compile_library_classes_jar/debug/classes.jar -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin -------------------------------------------------------------------------------- /modules/radius/expo-module.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "platforms": ["ios", "tvos", "android", "web"], 3 | "ios": { 4 | "modules": ["RadiusModule"] 5 | }, 6 | "android": { 7 | "modules": ["me.hojoisaac.radius.RadiusModule"] 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule.class -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusView.class -------------------------------------------------------------------------------- /ios/ioi/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char * argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/aar_metadata/debug/aar-metadata.properties: -------------------------------------------------------------------------------- 1 | aarFormatVersion=1.0 2 | aarMetadataVersion=1.0 3 | minCompileSdk=1 4 | minCompileSdkExtension=0 5 | minAndroidGradlePluginVersion=1.0.0 6 | coreLibraryDesugaringEnabled=false 7 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i -------------------------------------------------------------------------------- /modules/radius/ios/RadiusView.swift: -------------------------------------------------------------------------------- 1 | import ExpoModulesCore 2 | 3 | // This view will be used as a native component. Make sure to inherit from `ExpoView` 4 | // to apply the proper styling (e.g. border radius and shadows). 5 | class RadiusView: ExpoView { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len -------------------------------------------------------------------------------- /android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | #ffffff 3 | #ffffff 4 | #023c69 5 | #ffffff 6 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/javac/debug/classes/me/hojoisaac/radius/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/intermediates/javac/debug/classes/me/hojoisaac/radius/BuildConfig.class -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$1$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$1$1.class -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$1$5$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$1$5$1.class -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ioi 3 | contain 4 | false 5 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len -------------------------------------------------------------------------------- /modules/radius/src/RadiusModule.ts: -------------------------------------------------------------------------------- 1 | import { requireNativeModule } from 'expo-modules-core'; 2 | 3 | // It loads the native module object from the JSI or falls back to 4 | // the bridge module (from NativeModulesProxy) if the remote debugger is on. 5 | export default requireNativeModule('Radius'); 6 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/.transforms/86731365a7d2b45f1b8a0759cb81b132/transformed/classes/classes_dex/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/.transforms/86731365a7d2b45f1b8a0759cb81b132/transformed/classes/classes_dex/classes.dex -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i -------------------------------------------------------------------------------- /modules/radius/src/RadiusView.web.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | 3 | import { RadiusViewProps } from './Radius.types'; 4 | 5 | export default function RadiusView(props: RadiusViewProps) { 6 | return ( 7 |
8 | {props.name} 9 |
10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /ios/ioi.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at: -------------------------------------------------------------------------------- 1 | /Header Record For PersistentHashMapValueStorage! me.hojoisaac.radius.RadiusModuleme.hojoisaac.radius.RadiusView!D me.hojoisaac.radius.RadiusModule!# me.hojoisaac.radius.RadiusModule!# me.hojoisaac.radius.RadiusModule -------------------------------------------------------------------------------- /modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusView.kt: -------------------------------------------------------------------------------- 1 | package me.hojoisaac.radius 2 | 3 | import android.content.Context 4 | import expo.modules.kotlin.AppContext 5 | import expo.modules.kotlin.views.ExpoView 6 | 7 | class RadiusView(context: Context, appContext: AppContext) : ExpoView(context, appContext) 8 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /ios/ioi/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images": [ 3 | { 4 | "filename": "App-Icon-1024x1024@1x.png", 5 | "idiom": "universal", 6 | "platform": "ios", 7 | "size": "1024x1024" 8 | } 9 | ], 10 | "info": { 11 | "version": 1, 12 | "author": "expo" 13 | } 14 | } -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$View$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$View$1.class -------------------------------------------------------------------------------- /modules/radius/android/.idea/migrations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at: -------------------------------------------------------------------------------- 1 | /Header Record For PersistentHashMapValueStorage#"expo.modules.kotlin.modules.Module#"expo.modules.kotlin.views.ExpoView#"expo.modules.kotlin.modules.Module#"expo.modules.kotlin.modules.Module#"expo.modules.kotlin.modules.Module -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 4 | 4 5 | 5 6 | 6 7 | 7 8 | -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$1.class -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$2.class -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$3.class -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$lambda$3$$inlined$Prop$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$lambda$3$$inlined$Prop$1.class -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$FunctionWithoutArgs$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$FunctionWithoutArgs$1.class -------------------------------------------------------------------------------- /modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$FunctionWithoutArgs$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElSierra/ios-sheet-for-android-react-native/HEAD/modules/radius/android/build/tmp/kotlin-classes/debug/me/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$FunctionWithoutArgs$2.class -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- 1 | # Recreating iOS Sheet Animation For Android (React Native) 2 | 3 | ## Introduction 4 | 5 | This is a simple project to recreate the iOS sheet animation for Android using React Native. The project is based on the [iOS Sheet Animation] 6 | 7 | ## DEMO 8 | 9 | https://github.com/user-attachments/assets/1dbdada9-c665-4664-89ad-3d9f1d2d0487 10 | 11 | -------------------------------------------------------------------------------- /modules/radius/src/RadiusModule.web.ts: -------------------------------------------------------------------------------- 1 | import { EventEmitter } from 'expo-modules-core'; 2 | 3 | const emitter = new EventEmitter({} as any); 4 | 5 | export default { 6 | PI: Math.PI, 7 | async setValueAsync(value: string): Promise { 8 | emitter.emit('onChange', { value }); 9 | }, 10 | hello() { 11 | return 'Hello world! 👋'; 12 | }, 13 | }; 14 | -------------------------------------------------------------------------------- /modules/radius/android/local.properties: -------------------------------------------------------------------------------- 1 | ## This file must *NOT* be checked into Version Control Systems, 2 | # as it contains information specific to your local configuration. 3 | # 4 | # Location of the SDK. This is only used by Gradle. 5 | # For customization when using a Version Control System, please read the 6 | # header note. 7 | #Wed Jul 31 13:07:39 WAT 2024 8 | sdk.dir=/Users/ioi/Library/Android/sdk 9 | -------------------------------------------------------------------------------- /modules/radius/android/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | -------------------------------------------------------------------------------- /modules/radius/src/RadiusView.tsx: -------------------------------------------------------------------------------- 1 | import { requireNativeViewManager } from 'expo-modules-core'; 2 | import * as React from 'react'; 3 | 4 | import { RadiusViewProps } from './Radius.types'; 5 | 6 | const NativeView: React.ComponentType = 7 | requireNativeViewManager('Radius'); 8 | 9 | export default function RadiusView(props: RadiusViewProps) { 10 | return ; 11 | } 12 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/ioi/Images.xcassets/SplashScreen.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images": [ 3 | { 4 | "idiom": "universal", 5 | "filename": "image.png", 6 | "scale": "1x" 7 | }, 8 | { 9 | "idiom": "universal", 10 | "scale": "2x" 11 | }, 12 | { 13 | "idiom": "universal", 14 | "scale": "3x" 15 | } 16 | ], 17 | "info": { 18 | "version": 1, 19 | "author": "expo" 20 | } 21 | } -------------------------------------------------------------------------------- /ios/ioi/Supporting/Expo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | EXUpdatesCheckOnLaunch 6 | ALWAYS 7 | EXUpdatesEnabled 8 | 9 | EXUpdatesLaunchWaitMs 10 | 0 11 | 12 | -------------------------------------------------------------------------------- /ios/ioi/Images.xcassets/SplashScreenBackground.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images": [ 3 | { 4 | "idiom": "universal", 5 | "filename": "image.png", 6 | "scale": "1x" 7 | }, 8 | { 9 | "idiom": "universal", 10 | "scale": "2x" 11 | }, 12 | { 13 | "idiom": "universal", 14 | "scale": "3x" 15 | } 16 | ], 17 | "info": { 18 | "version": 1, 19 | "author": "expo" 20 | } 21 | } -------------------------------------------------------------------------------- /modules/radius/android/build/generated/source/buildConfig/debug/me/hojoisaac/radius/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Automatically generated file. DO NOT MODIFY 3 | */ 4 | package me.hojoisaac.radius; 5 | 6 | public final class BuildConfig { 7 | public static final boolean DEBUG = Boolean.parseBoolean("true"); 8 | public static final String LIBRARY_PACKAGE_NAME = "me.hojoisaac.radius"; 9 | public static final String BUILD_TYPE = "debug"; 10 | } 11 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 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 | project.xcworkspace 24 | .xcode.env.local 25 | 26 | # Bundle artifacts 27 | *.jsbundle 28 | 29 | # CocoaPods 30 | /Pods/ 31 | -------------------------------------------------------------------------------- /App.tsx: -------------------------------------------------------------------------------- 1 | import React, { useCallback, useMemo, useRef } from "react"; 2 | 3 | import Main from "./src"; 4 | import { GestureHandlerRootView } from "react-native-gesture-handler"; 5 | import { SafeAreaProvider, SafeAreaView } from "react-native-safe-area-context"; 6 | 7 | 8 | const App = () => { 9 | return ( 10 | 11 | 12 |
13 | 14 | 15 | ); 16 | }; 17 | 18 | export default App; 19 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "artifactType": { 4 | "type": "AAPT_FRIENDLY_MERGED_MANIFESTS", 5 | "kind": "Directory" 6 | }, 7 | "applicationId": "me.hojoisaac.radius", 8 | "variantName": "debug", 9 | "elements": [ 10 | { 11 | "type": "SINGLE", 12 | "filters": [], 13 | "attributes": [], 14 | "outputFile": "AndroidManifest.xml" 15 | } 16 | ], 17 | "elementType": "File" 18 | } -------------------------------------------------------------------------------- /modules/radius/android/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at: -------------------------------------------------------------------------------- 1 | /Header Record For PersistentHashMapValueStorageLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktJI../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusView.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.kt -------------------------------------------------------------------------------- /ios/.xcode.env: -------------------------------------------------------------------------------- 1 | # This `.xcode.env` file is versioned and is used to source the environment 2 | # used when running script phases inside Xcode. 3 | # To customize your local environment, you can create an `.xcode.env.local` 4 | # file that is not versioned. 5 | 6 | # NODE_BINARY variable contains the PATH to the node executable. 7 | # 8 | # Customize the NODE_BINARY variable here. 9 | # For example, to use nvm with brew, add the following line 10 | # . "$(brew --prefix nvm)/nvm.sh" --no-use 11 | export NODE_BINARY=$(command -v node) 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files 2 | 3 | # dependencies 4 | node_modules/ 5 | 6 | # Expo 7 | .expo/ 8 | dist/ 9 | web-build/ 10 | 11 | # Native 12 | *.orig.* 13 | *.jks 14 | *.p8 15 | *.p12 16 | *.key 17 | *.mobileprovision 18 | 19 | # Metro 20 | .metro-health-check* 21 | 22 | # debug 23 | npm-debug.* 24 | yarn-debug.* 25 | yarn-error.* 26 | 27 | # macOS 28 | .DS_Store 29 | *.pem 30 | 31 | # local env files 32 | .env*.local 33 | 34 | # typescript 35 | *.tsbuildinfo 36 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at: -------------------------------------------------------------------------------- 1 | /Header Record For PersistentHashMapValueStorageLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktJI../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusView.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.kt -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # react-native-reanimated 11 | -keep class com.swmansion.reanimated.** { *; } 12 | -keep class com.facebook.react.turbomodule.** { *; } 13 | 14 | # Add any project specific keep options here: 15 | -------------------------------------------------------------------------------- /modules/radius/ios/Radius.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'Radius' 3 | s.version = '1.0.0' 4 | s.summary = 'A sample project summary' 5 | s.description = 'A sample project description' 6 | s.author = '' 7 | s.homepage = 'https://docs.expo.dev/modules/' 8 | s.platforms = { :ios => '13.4', :tvos => '13.4' } 9 | s.source = { git: '' } 10 | s.static_framework = true 11 | 12 | s.dependency 'ExpoModulesCore' 13 | 14 | # Swift/Objective-C compatibility 15 | s.pod_target_xcconfig = { 16 | 'DEFINES_MODULE' => 'YES', 17 | 'SWIFT_COMPILATION_MODE' => 'wholemodule' 18 | } 19 | 20 | s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}" 21 | end 22 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "expo": { 3 | "name": "ioi", 4 | "slug": "ioi", 5 | "version": "1.0.0", 6 | "orientation": "portrait", 7 | "icon": "./assets/icon.png", 8 | "userInterfaceStyle": "light", 9 | "splash": { 10 | "image": "./assets/splash.png", 11 | "resizeMode": "contain", 12 | "backgroundColor": "#ffffff" 13 | }, 14 | "ios": { 15 | "supportsTablet": true, 16 | "bundleIdentifier": "com.hojoisaac.ioi" 17 | }, 18 | "android": { 19 | "adaptiveIcon": { 20 | "foregroundImage": "./assets/adaptive-icon.png", 21 | "backgroundColor": "#ffffff" 22 | }, 23 | "package": "com.hojoisaac.ioi" 24 | }, 25 | "web": { 26 | "favicon": "./assets/favicon.png" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "list", 3 | "version": "1.0.0", 4 | "main": "expo/AppEntry.js", 5 | "scripts": { 6 | "start": "expo start", 7 | "android": "expo run:android", 8 | "ios": "expo run:ios", 9 | "web": "expo start --web" 10 | }, 11 | "dependencies": { 12 | "@gorhom/bottom-sheet": "^4.6.3", 13 | "expo": "~51.0.20", 14 | "expo-modules-core": "^1.12.20", 15 | "expo-status-bar": "~1.12.1", 16 | "react": "18.2.0", 17 | "react-native": "0.74.3", 18 | "react-native-gesture-handler": "~2.16.1", 19 | "react-native-reanimated": "~3.10.1", 20 | "react-native-safe-area-context": "^4.10.8" 21 | }, 22 | "devDependencies": { 23 | "@babel/core": "^7.20.0", 24 | "@types/react": "~18.2.45", 25 | "typescript": "^5.1.3" 26 | }, 27 | "private": true 28 | } 29 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 14 | 17 | -------------------------------------------------------------------------------- /src/components/bottom-sheet/CustomBg.tsx: -------------------------------------------------------------------------------- 1 | import React, { useMemo } from "react"; 2 | import { BottomSheetBackgroundProps } from "@gorhom/bottom-sheet"; 3 | import Animated, { 4 | useAnimatedStyle, 5 | interpolateColor, 6 | } from "react-native-reanimated"; 7 | import { View, useColorScheme } from "react-native"; 8 | 9 | export const CustomBackground: React.FC = ({ 10 | style, 11 | animatedIndex, 12 | }) => { 13 | console.log( 14 | "🚀 ~ file: CustomBg.tsx:13 ~ animatedIndex:", 15 | animatedIndex.value 16 | ); 17 | 18 | //#region styles 19 | const theme = useColorScheme(); 20 | 21 | const isDarkTheme = theme === "dark"; 22 | 23 | // render 24 | return ( 25 | <> 26 | 34 | 35 | ); 36 | }; 37 | 38 | export default CustomBackground; 39 | -------------------------------------------------------------------------------- /modules/radius/android/build/outputs/logs/manifest-merger-debug-report.txt: -------------------------------------------------------------------------------- 1 | -- Merging decision tree log --- 2 | manifest 3 | ADDED from /Users/ioi/projects/gorhom/modules/radius/android/src/main/AndroidManifest.xml:1:1-2:12 4 | INJECTED from /Users/ioi/projects/gorhom/modules/radius/android/src/main/AndroidManifest.xml:1:1-2:12 5 | package 6 | INJECTED from /Users/ioi/projects/gorhom/modules/radius/android/src/main/AndroidManifest.xml 7 | uses-sdk 8 | INJECTED from /Users/ioi/projects/gorhom/modules/radius/android/src/main/AndroidManifest.xml reason: use-sdk injection requested 9 | INJECTED from /Users/ioi/projects/gorhom/modules/radius/android/src/main/AndroidManifest.xml 10 | INJECTED from /Users/ioi/projects/gorhom/modules/radius/android/src/main/AndroidManifest.xml 11 | android:targetSdkVersion 12 | INJECTED from /Users/ioi/projects/gorhom/modules/radius/android/src/main/AndroidManifest.xml 13 | android:minSdkVersion 14 | INJECTED from /Users/ioi/projects/gorhom/modules/radius/android/src/main/AndroidManifest.xml 15 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ioi' 2 | 3 | dependencyResolutionManagement { 4 | versionCatalogs { 5 | reactAndroidLibs { 6 | from(files(new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), "../gradle/libs.versions.toml"))) 7 | } 8 | } 9 | } 10 | 11 | apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle"); 12 | useExpoModules() 13 | 14 | apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), "../native_modules.gradle"); 15 | applyNativeModulesSettingsGradle(settings) 16 | 17 | include ':app' 18 | includeBuild(new File(["node", "--print", "require.resolve('@react-native/gradle-plugin/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim()).getParentFile()) 19 | -------------------------------------------------------------------------------- /src/screen/Home.tsx: -------------------------------------------------------------------------------- 1 | import { View, Text, useWindowDimensions, Button } from "react-native"; 2 | import React from "react"; 3 | import { useBottomSheetModal } from "@gorhom/bottom-sheet"; 4 | import { TouchableOpacity } from "react-native-gesture-handler"; 5 | import { AnimatedButton } from "../components/animated-button/animatedButton"; 6 | 7 | type HomeProps = { 8 | handlePresentModalPress: () => void; 9 | }; 10 | 11 | export const Home: React.FC = ({ handlePresentModalPress }) => { 12 | const { height, width } = useWindowDimensions(); 13 | const { dismiss, dismissAll } = useBottomSheetModal(); 14 | return ( 15 | 16 | 27 | Press Me 28 | 29 | 30 | ); 31 | }; 32 | -------------------------------------------------------------------------------- /modules/radius/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | NativeModulesProxy, 3 | EventEmitter, 4 | Subscription, 5 | } from "expo-modules-core"; 6 | 7 | // Import the native module. On web, it will be resolved to Radius.web.ts 8 | // and on native platforms to Radius.ts 9 | import RadiusModule from "./src/RadiusModule"; 10 | import RadiusView from "./src/RadiusView"; 11 | import { ChangeEventPayload, RadiusViewProps } from "./src/Radius.types"; 12 | import { Platform } from "react-native"; 13 | 14 | // Get the native constant value. 15 | export const PI = RadiusModule.PI; 16 | 17 | export function hello(): string { 18 | return RadiusModule.hello(); 19 | } 20 | 21 | export function getCornerRadius(): number { 22 | if (Platform.OS === "ios") { 23 | return 0; 24 | } 25 | return RadiusModule?.getCornerRadius(); 26 | } 27 | export async function setValueAsync(value: string) { 28 | return await RadiusModule.setValueAsync(value); 29 | } 30 | 31 | const emitter = new EventEmitter(RadiusModule ?? NativeModulesProxy.Radius); 32 | 33 | export function addChangeListener( 34 | listener: (event: ChangeEventPayload) => void 35 | ): Subscription { 36 | return emitter.addListener("onChange", listener); 37 | } 38 | 39 | export { RadiusView, RadiusViewProps, ChangeEventPayload }; 40 | -------------------------------------------------------------------------------- /src/components/animated-button/animatedButton.tsx: -------------------------------------------------------------------------------- 1 | import { 2 | Pressable, 3 | StyleProp, 4 | StyleSheet, 5 | Text, 6 | View, 7 | ViewStyle, 8 | } from "react-native"; 9 | import React from "react"; 10 | import Animated, { 11 | useAnimatedStyle, 12 | useSharedValue, 13 | withSpring, 14 | withTiming, 15 | } from "react-native-reanimated"; 16 | 17 | type AnimatedButtonProps = { 18 | style: StyleProp; 19 | onPress: () => void; 20 | children: React.ReactNode; 21 | }; 22 | export const AnimatedButton: React.FC = ({ 23 | style, 24 | onPress, 25 | children, 26 | }) => { 27 | const scale = useSharedValue(1); 28 | const animatedStyle = useAnimatedStyle(() => { 29 | return { 30 | transform: [{ scale: scale.value }], 31 | }; 32 | }); 33 | 34 | const handlePressIn = () => { 35 | scale.value = withSpring(0.95); 36 | }; 37 | const handlePressOut = () => { 38 | scale.value = withTiming(1); 39 | }; 40 | 41 | return ( 42 | 43 | 54 | {children} 55 | 56 | 57 | ); 58 | }; 59 | -------------------------------------------------------------------------------- /ios/ioi/PrivacyInfo.xcprivacy: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSPrivacyAccessedAPITypes 6 | 7 | 8 | NSPrivacyAccessedAPIType 9 | NSPrivacyAccessedAPICategoryUserDefaults 10 | NSPrivacyAccessedAPITypeReasons 11 | 12 | CA92.1 13 | 14 | 15 | 16 | NSPrivacyAccessedAPIType 17 | NSPrivacyAccessedAPICategoryFileTimestamp 18 | NSPrivacyAccessedAPITypeReasons 19 | 20 | 0A2A.1 21 | 3B52.1 22 | C617.1 23 | 24 | 25 | 26 | NSPrivacyAccessedAPIType 27 | NSPrivacyAccessedAPICategoryDiskSpace 28 | NSPrivacyAccessedAPITypeReasons 29 | 30 | E174.1 31 | 85F4.1 32 | 33 | 34 | 35 | NSPrivacyAccessedAPIType 36 | NSPrivacyAccessedAPICategorySystemBootTime 37 | NSPrivacyAccessedAPITypeReasons 38 | 39 | 35F9.1 40 | 41 | 42 | 43 | NSPrivacyCollectedDataTypes 44 | 45 | NSPrivacyTracking 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /modules/radius/android/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | group = 'me.hojoisaac.radius' 4 | version = '0.6.0' 5 | 6 | def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle") 7 | apply from: expoModulesCorePlugin 8 | applyKotlinExpoModulesCorePlugin() 9 | useCoreDependencies() 10 | useExpoPublishing() 11 | 12 | // If you want to use the managed Android SDK versions from expo-modules-core, set this to true. 13 | // The Android SDK versions will be bumped from time to time in SDK releases and may introduce breaking changes in your module code. 14 | // Most of the time, you may like to manage the Android SDK versions yourself. 15 | def useManagedAndroidSdkVersions = false 16 | if (useManagedAndroidSdkVersions) { 17 | useDefaultAndroidSdkVersions() 18 | } else { 19 | buildscript { 20 | // Simple helper that allows the root project to override versions declared by this library. 21 | ext.safeExtGet = { prop, fallback -> 22 | rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback 23 | } 24 | } 25 | project.android { 26 | compileSdkVersion safeExtGet("compileSdkVersion", 34) 27 | defaultConfig { 28 | minSdkVersion safeExtGet("minSdkVersion", 21) 29 | targetSdkVersion safeExtGet("targetSdkVersion", 34) 30 | } 31 | } 32 | } 33 | 34 | android { 35 | namespace "me.hojoisaac.radius" 36 | defaultConfig { 37 | versionCode 1 38 | versionName "0.6.0" 39 | } 40 | lintOptions { 41 | abortOnError false 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = findProperty('android.buildToolsVersion') ?: '34.0.0' 6 | minSdkVersion = Integer.parseInt(findProperty('android.minSdkVersion') ?: '23') 7 | compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: '34') 8 | targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '34') 9 | kotlinVersion = findProperty('android.kotlinVersion') ?: '1.9.23' 10 | 11 | ndkVersion = "26.1.10909125" 12 | } 13 | repositories { 14 | google() 15 | mavenCentral() 16 | } 17 | dependencies { 18 | classpath('com.android.tools.build:gradle') 19 | classpath('com.facebook.react:react-native-gradle-plugin') 20 | classpath('org.jetbrains.kotlin:kotlin-gradle-plugin') 21 | } 22 | } 23 | 24 | apply plugin: "com.facebook.react.rootproject" 25 | 26 | allprojects { 27 | repositories { 28 | maven { 29 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 30 | url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android')) 31 | } 32 | maven { 33 | // Android JSC is installed from npm 34 | url(new File(['node', '--print', "require.resolve('jsc-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), '../dist')) 35 | } 36 | 37 | google() 38 | mavenCentral() 39 | maven { url 'https://www.jitpack.io' } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /modules/radius/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /modules/radius/ios/RadiusModule.swift: -------------------------------------------------------------------------------- 1 | import ExpoModulesCore 2 | 3 | public class RadiusModule: Module { 4 | // Each module class must implement the definition function. The definition consists of components 5 | // that describes the module's functionality and behavior. 6 | // See https://docs.expo.dev/modules/module-api for more details about available components. 7 | public func definition() -> ModuleDefinition { 8 | // Sets the name of the module that JavaScript code will use to refer to the module. Takes a string as an argument. 9 | // Can be inferred from module's class name, but it's recommended to set it explicitly for clarity. 10 | // The module will be accessible from `requireNativeModule('Radius')` in JavaScript. 11 | Name("Radius") 12 | 13 | // Sets constant properties on the module. Can take a dictionary or a closure that returns a dictionary. 14 | Constants([ 15 | "PI": Double.pi 16 | ]) 17 | 18 | // Defines event names that the module can send to JavaScript. 19 | Events("onChange") 20 | 21 | // Defines a JavaScript synchronous function that runs the native code on the JavaScript thread. 22 | Function("hello") { 23 | return "Hello world! 👋" 24 | } 25 | 26 | // Defines a JavaScript function that always returns a Promise and whose native code 27 | // is by default dispatched on the different thread than the JavaScript runtime runs on. 28 | AsyncFunction("setValueAsync") { (value: String) in 29 | // Send an event to JavaScript. 30 | self.sendEvent("onChange", [ 31 | "value": value 32 | ]) 33 | } 34 | 35 | // Enables the module to be used as a native view. Definition components that are accepted as part of the 36 | // view definition: Prop, Events. 37 | View(RadiusView.self) { 38 | // Defines a setter for the `name` prop. 39 | Prop("name") { (view: RadiusView, prop: String) in 40 | print(prop) 41 | } 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/rn_edit_text_material.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 22 | 23 | 24 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/hojoisaac/ioi/MainApplication.kt: -------------------------------------------------------------------------------- 1 | package com.hojoisaac.ioi 2 | 3 | import android.app.Application 4 | import android.content.res.Configuration 5 | 6 | import com.facebook.react.PackageList 7 | import com.facebook.react.ReactApplication 8 | import com.facebook.react.ReactNativeHost 9 | import com.facebook.react.ReactPackage 10 | import com.facebook.react.ReactHost 11 | import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load 12 | import com.facebook.react.defaults.DefaultReactNativeHost 13 | import com.facebook.soloader.SoLoader 14 | 15 | import expo.modules.ApplicationLifecycleDispatcher 16 | import expo.modules.ReactNativeHostWrapper 17 | 18 | class MainApplication : Application(), ReactApplication { 19 | 20 | override val reactNativeHost: ReactNativeHost = ReactNativeHostWrapper( 21 | this, 22 | object : DefaultReactNativeHost(this) { 23 | override fun getPackages(): List { 24 | // Packages that cannot be autolinked yet can be added manually here, for example: 25 | // packages.add(new MyReactNativePackage()); 26 | return PackageList(this).packages 27 | } 28 | 29 | override fun getJSMainModuleName(): String = ".expo/.virtual-metro-entry" 30 | 31 | override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG 32 | 33 | override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED 34 | override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED 35 | } 36 | ) 37 | 38 | override val reactHost: ReactHost 39 | get() = ReactNativeHostWrapper.createReactHost(applicationContext, reactNativeHost) 40 | 41 | override fun onCreate() { 42 | super.onCreate() 43 | SoLoader.init(this, false) 44 | if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { 45 | // If you opted-in for the New Architecture, we load the native entry point for this app. 46 | load() 47 | } 48 | ApplicationLifecycleDispatcher.onApplicationCreate(this) 49 | } 50 | 51 | override fun onConfigurationChanged(newConfig: Configuration) { 52 | super.onConfigurationChanged(newConfig) 53 | ApplicationLifecycleDispatcher.onConfigurationChanged(this, newConfig) 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/hojoisaac/ioi/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.hojoisaac.ioi 2 | 3 | import android.os.Build 4 | import android.os.Bundle 5 | 6 | import com.facebook.react.ReactActivity 7 | import com.facebook.react.ReactActivityDelegate 8 | import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled 9 | import com.facebook.react.defaults.DefaultReactActivityDelegate 10 | 11 | import expo.modules.ReactActivityDelegateWrapper 12 | 13 | class MainActivity : ReactActivity() { 14 | override fun onCreate(savedInstanceState: Bundle?) { 15 | // Set the theme to AppTheme BEFORE onCreate to support 16 | // coloring the background, status bar, and navigation bar. 17 | // This is required for expo-splash-screen. 18 | setTheme(R.style.AppTheme); 19 | super.onCreate(null) 20 | } 21 | 22 | /** 23 | * Returns the name of the main component registered from JavaScript. This is used to schedule 24 | * rendering of the component. 25 | */ 26 | override fun getMainComponentName(): String = "main" 27 | 28 | /** 29 | * Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] 30 | * which allows you to enable New Architecture with a single boolean flags [fabricEnabled] 31 | */ 32 | override fun createReactActivityDelegate(): ReactActivityDelegate { 33 | return ReactActivityDelegateWrapper( 34 | this, 35 | BuildConfig.IS_NEW_ARCHITECTURE_ENABLED, 36 | object : DefaultReactActivityDelegate( 37 | this, 38 | mainComponentName, 39 | fabricEnabled 40 | ){}) 41 | } 42 | 43 | /** 44 | * Align the back button behavior with Android S 45 | * where moving root activities to background instead of finishing activities. 46 | * @see onBackPressed 47 | */ 48 | override fun invokeDefaultOnBackPressed() { 49 | if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.R) { 50 | if (!moveTaskToBack(false)) { 51 | // For non-root activities, use the default implementation to finish them. 52 | super.invokeDefaultOnBackPressed() 53 | } 54 | return 55 | } 56 | 57 | // Use the default back button implementation on Android S 58 | // because it's doing more than [Activity.moveTaskToBack] in fact. 59 | super.invokeDefaultOnBackPressed() 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking") 2 | require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods") 3 | 4 | require 'json' 5 | podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {} 6 | 7 | ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0' 8 | ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR'] 9 | 10 | platform :ios, podfile_properties['ios.deploymentTarget'] || '13.4' 11 | install! 'cocoapods', 12 | :deterministic_uuids => false 13 | 14 | prepare_react_native_project! 15 | 16 | target 'ioi' do 17 | use_expo_modules! 18 | config = use_native_modules! 19 | 20 | use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks'] 21 | use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS'] 22 | 23 | use_react_native!( 24 | :path => config[:reactNativePath], 25 | :hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes', 26 | # An absolute path to your application root. 27 | :app_path => "#{Pod::Config.instance.installation_root}/..", 28 | :privacy_file_aggregation_enabled => podfile_properties['apple.privacyManifestAggregationEnabled'] != 'false', 29 | ) 30 | 31 | post_install do |installer| 32 | react_native_post_install( 33 | installer, 34 | config[:reactNativePath], 35 | :mac_catalyst_enabled => false, 36 | :ccache_enabled => podfile_properties['apple.ccacheEnabled'] == 'true', 37 | ) 38 | 39 | # This is necessary for Xcode 14, because it signs resource bundles by default 40 | # when building for devices. 41 | installer.target_installation_results.pod_target_installation_results 42 | .each do |pod_name, target_installation_result| 43 | target_installation_result.resource_bundle_targets.each do |resource_bundle_target| 44 | resource_bundle_target.build_configurations.each do |config| 45 | config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' 46 | end 47 | end 48 | end 49 | end 50 | 51 | post_integrate do |installer| 52 | begin 53 | expo_patch_react_imports!(installer) 54 | rescue => e 55 | Pod::UI.warn e 56 | end 57 | end 58 | end 59 | -------------------------------------------------------------------------------- /ios/ioi/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CADisableMinimumFrameDurationOnPhone 6 | 7 | CFBundleDevelopmentRegion 8 | $(DEVELOPMENT_LANGUAGE) 9 | CFBundleDisplayName 10 | ioi 11 | CFBundleExecutable 12 | $(EXECUTABLE_NAME) 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | $(PRODUCT_NAME) 19 | CFBundlePackageType 20 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 21 | CFBundleShortVersionString 22 | 1.0.0 23 | CFBundleSignature 24 | ???? 25 | CFBundleURLTypes 26 | 27 | 28 | CFBundleURLSchemes 29 | 30 | com.hojoisaac.ioi 31 | 32 | 33 | 34 | CFBundleVersion 35 | 1 36 | LSRequiresIPhoneOS 37 | 38 | NSAppTransportSecurity 39 | 40 | NSAllowsArbitraryLoads 41 | 42 | NSAllowsLocalNetworking 43 | 44 | 45 | UILaunchStoryboardName 46 | SplashScreen 47 | UIRequiredDeviceCapabilities 48 | 49 | arm64 50 | 51 | UIRequiresFullScreen 52 | 53 | UIStatusBarStyle 54 | UIStatusBarStyleDefault 55 | UISupportedInterfaceOrientations 56 | 57 | UIInterfaceOrientationPortrait 58 | UIInterfaceOrientationPortraitUpsideDown 59 | 60 | UISupportedInterfaceOrientations~ipad 61 | 62 | UIInterfaceOrientationPortrait 63 | UIInterfaceOrientationPortraitUpsideDown 64 | UIInterfaceOrientationLandscapeLeft 65 | UIInterfaceOrientationLandscapeRight 66 | 67 | UIUserInterfaceStyle 68 | Light 69 | UIViewControllerBasedStatusBarAppearance 70 | 71 | 72 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m 13 | org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | # AndroidX package structure to make it clearer which packages are bundled with the 21 | # Android operating system, and which are packaged with your app's APK 22 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 23 | android.useAndroidX=true 24 | 25 | # Automatically convert third-party libraries to use AndroidX 26 | android.enableJetifier=true 27 | 28 | # Enable AAPT2 PNG crunching 29 | android.enablePngCrunchInReleaseBuilds=true 30 | 31 | # Use this property to specify which architecture you want to build. 32 | # You can also override it from the CLI using 33 | # ./gradlew -PreactNativeArchitectures=x86_64 34 | reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 35 | 36 | # Use this property to enable support to the new architecture. 37 | # This will allow you to use TurboModules and the Fabric render in 38 | # your application. You should enable this flag either if you want 39 | # to write custom TurboModules/Fabric components OR use libraries that 40 | # are providing them. 41 | newArchEnabled=false 42 | 43 | # Use this property to enable or disable the Hermes JS engine. 44 | # If set to false, you will be using JSC instead. 45 | hermesEnabled=true 46 | 47 | # Enable GIF support in React Native images (~200 B increase) 48 | expo.gif.enabled=true 49 | # Enable webp support in React Native images (~85 KB increase) 50 | expo.webp.enabled=true 51 | # Enable animated webp support (~3.4 MB increase) 52 | # Disabled by default because iOS doesn't support animated webp 53 | expo.webp.animated=false 54 | 55 | # Enable network inspector 56 | EX_DEV_CLIENT_NETWORK_INSPECTOR=true 57 | 58 | # Use legacy packaging to compress native libraries in the resulting APK. 59 | expo.useLegacyPackaging=false 60 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at: -------------------------------------------------------------------------------- 1 | /Header Record For PersistentHashMapValueStorageLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktJI../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusView.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktLK../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.kt -------------------------------------------------------------------------------- /modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.kt: -------------------------------------------------------------------------------- 1 | package me.hojoisaac.radius 2 | 3 | import android.os.Build 4 | import android.view.RoundedCorner 5 | import android.view.View 6 | import androidx.annotation.RequiresApi 7 | import expo.modules.kotlin.modules.Module 8 | import expo.modules.kotlin.modules.ModuleDefinition 9 | import expo.modules.kotlin.AppContext 10 | 11 | 12 | 13 | class RadiusModule : Module() { 14 | // Each module class must implement the definition function. The definition consists of components 15 | // that describes the module's functionality and behavior. 16 | // See https://docs.expo.dev/modules/module-api for more details about available components. 17 | override fun definition() = ModuleDefinition { 18 | // Sets the name of the module that JavaScript code will use to refer to the module. Takes a string as an argument. 19 | // Can be inferred from module's class name, but it's recommended to set it explicitly for clarity. 20 | // The module will be accessible from `requireNativeModule('Radius')` in JavaScript. 21 | Name("Radius") 22 | 23 | Constants { 24 | mapOf( 25 | "cornerRadius" to getCornerRadius() 26 | ) 27 | } 28 | 29 | Function("getCornerRadius") { 30 | getCornerRadius() 31 | } 32 | // Defines event names that the module can send to JavaScript. 33 | Events("onChange") 34 | 35 | // Defines a JavaScript synchronous function that runs the native code on the JavaScript thread. 36 | Function("hello") { 37 | "Hello world! 👋" 38 | } 39 | 40 | // Defines a JavaScript function that always returns a Promise and whose native code 41 | // is by default dispatched on the different thread than the JavaScript runtime runs on. 42 | AsyncFunction("setValueAsync") { value: String -> 43 | // Send an event to JavaScript. 44 | sendEvent("onChange", mapOf( 45 | "value" to value 46 | )) 47 | } 48 | 49 | // Enables the module to be used as a native view. Definition components that are accepted as part of 50 | // the view definition: Prop, Events. 51 | View(RadiusView::class) { 52 | // Defines a setter for the `name` prop. 53 | Prop("name") { view: RadiusView, prop: String -> 54 | println(prop) 55 | } 56 | } 57 | } 58 | 59 | private fun getCornerRadius(): Int { 60 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { 61 | val currentActivity = appContext.currentActivity 62 | if (currentActivity != null) { 63 | val rootView = currentActivity.window?.decorView?.findViewById(android.R.id.content) 64 | if (rootView != null) { 65 | val corner = rootView.rootWindowInsets?.getRoundedCorner(RoundedCorner.POSITION_TOP_LEFT) 66 | return corner?.radius ?: 0 67 | } 68 | } 69 | } 70 | return 0 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /ios/ioi/AppDelegate.mm: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | 3 | #import 4 | #import 5 | 6 | @implementation AppDelegate 7 | 8 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 9 | { 10 | self.moduleName = @"main"; 11 | 12 | // You can add your custom initial props in the dictionary below. 13 | // They will be passed down to the ViewController used by React Native. 14 | self.initialProps = @{}; 15 | 16 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 17 | } 18 | 19 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 20 | { 21 | return [self bundleURL]; 22 | } 23 | 24 | - (NSURL *)bundleURL 25 | { 26 | #if DEBUG 27 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@".expo/.virtual-metro-entry"]; 28 | #else 29 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 30 | #endif 31 | } 32 | 33 | // Linking API 34 | - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary *)options { 35 | return [super application:application openURL:url options:options] || [RCTLinkingManager application:application openURL:url options:options]; 36 | } 37 | 38 | // Universal Links 39 | - (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray> * _Nullable))restorationHandler { 40 | BOOL result = [RCTLinkingManager application:application continueUserActivity:userActivity restorationHandler:restorationHandler]; 41 | return [super application:application continueUserActivity:userActivity restorationHandler:restorationHandler] || result; 42 | } 43 | 44 | // Explicitly define remote notification delegates to ensure compatibility with some third-party libraries 45 | - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken 46 | { 47 | return [super application:application didRegisterForRemoteNotificationsWithDeviceToken:deviceToken]; 48 | } 49 | 50 | // Explicitly define remote notification delegates to ensure compatibility with some third-party libraries 51 | - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error 52 | { 53 | return [super application:application didFailToRegisterForRemoteNotificationsWithError:error]; 54 | } 55 | 56 | // Explicitly define remote notification delegates to ensure compatibility with some third-party libraries 57 | - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler 58 | { 59 | return [super application:application didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler]; 60 | } 61 | 62 | @end 63 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%"=="" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%"=="" set DIRNAME=. 29 | @rem This is normally unused 30 | set APP_BASE_NAME=%~n0 31 | set APP_HOME=%DIRNAME% 32 | 33 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 34 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 35 | 36 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 37 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 38 | 39 | @rem Find java.exe 40 | if defined JAVA_HOME goto findJavaFromJavaHome 41 | 42 | set JAVA_EXE=java.exe 43 | %JAVA_EXE% -version >NUL 2>&1 44 | if %ERRORLEVEL% equ 0 goto execute 45 | 46 | echo. 1>&2 47 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 48 | echo. 1>&2 49 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2 50 | echo location of your Java installation. 1>&2 51 | 52 | goto fail 53 | 54 | :findJavaFromJavaHome 55 | set JAVA_HOME=%JAVA_HOME:"=% 56 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 57 | 58 | if exist "%JAVA_EXE%" goto execute 59 | 60 | echo. 1>&2 61 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 62 | echo. 1>&2 63 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2 64 | echo location of your Java installation. 1>&2 65 | 66 | goto fail 67 | 68 | :execute 69 | @rem Setup the command line 70 | 71 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 72 | 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if %ERRORLEVEL% equ 0 goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | set EXIT_CODE=%ERRORLEVEL% 85 | if %EXIT_CODE% equ 0 set EXIT_CODE=1 86 | if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% 87 | exit /b %EXIT_CODE% 88 | 89 | :mainEnd 90 | if "%OS%"=="Windows_NT" endlocal 91 | 92 | :omega 93 | -------------------------------------------------------------------------------- /src/components/bottom-sheet/bottomSheet.tsx: -------------------------------------------------------------------------------- 1 | import { 2 | BottomSheetBackdrop, 3 | BottomSheetModal, 4 | BottomSheetView, 5 | } from "@gorhom/bottom-sheet"; 6 | import React, { useCallback, useEffect, useMemo } from "react"; 7 | import { 8 | Alert, 9 | BackHandler, 10 | Platform, 11 | Text, 12 | useWindowDimensions, 13 | } from "react-native"; 14 | import CustomBackground from "./CustomBg"; 15 | import { SharedValue, useSharedValue } from "react-native-reanimated"; 16 | import { StyleSheet } from "react-native"; 17 | import { useSafeAreaInsets } from "react-native-safe-area-context"; 18 | 19 | type CustomBottomSheetProps = { 20 | bottomSheetModalRef: React.RefObject; 21 | animatedPosition: SharedValue; 22 | setIsDark: React.Dispatch>; 23 | // add your custom props here 24 | }; 25 | export const CustomBottomSheet: React.FC = ({ 26 | bottomSheetModalRef, 27 | animatedPosition, 28 | setIsDark, 29 | }) => { 30 | const { height } = useWindowDimensions(); 31 | const { top } = useSafeAreaInsets(); 32 | const percentage = 33 | Platform.OS === "ios" ? ((height - top) / height) * 100 - 2 : "94.5"; 34 | console.log("🚀 ~ file: bottomSheet.tsx:27 ~ percentage:", percentage); 35 | 36 | console.log("🚀 ~ file: bottomSheet.tsx:26 ~ top:", top, height); 37 | 38 | const snapPoints = useMemo(() => ["25%", `${percentage}%`], []); 39 | const renderBackdrop = useCallback( 40 | (props: any) => ( 41 | <> 42 | 49 | 50 | ), 51 | [] 52 | ); 53 | 54 | useEffect(() => { 55 | const backAction = () => { 56 | bottomSheetModalRef.current?.dismiss(); 57 | return true; 58 | }; 59 | 60 | const backHandler = BackHandler.addEventListener( 61 | "hardwareBackPress", 62 | backAction 63 | ); 64 | 65 | return () => backHandler.remove(); 66 | }, []); 67 | 68 | const sheetChange = useSharedValue(0); 69 | 70 | const handleSheetChanges = useCallback((index: number) => { 71 | console.log("handleSheetChanges", index); 72 | sheetChange.value = index; 73 | if (index === 1) { 74 | setIsDark(true); 75 | } else { 76 | setIsDark(false); 77 | } 78 | }, []); 79 | return ( 80 | 97 | 98 | Awesome 🎉 99 | 100 | 101 | ); 102 | }; 103 | 104 | const styles = StyleSheet.create({ 105 | container: { 106 | height: "100%", 107 | width: "100%", 108 | justifyContent: "center", 109 | backgroundColor: "white", 110 | borderRadius: 10, 111 | }, 112 | contentContainer: { 113 | flex: 1, 114 | 115 | borderRadius: 0, 116 | alignItems: "center", 117 | }, 118 | }); 119 | -------------------------------------------------------------------------------- /ios/ioi.xcodeproj/xcshareddata/xcschemes/ioi.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 53 | 55 | 61 | 62 | 63 | 64 | 70 | 72 | 78 | 79 | 80 | 81 | 83 | 84 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream: -------------------------------------------------------------------------------- 1 | me/hojoisaac/radius/RadiusModuleme/hojoisaac/radius/RadiusView.kotlin_module -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream: -------------------------------------------------------------------------------- 1 | "expo.modules.kotlin.modules.Module"expo.modules.kotlin.views.ExpoView -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream: -------------------------------------------------------------------------------- 1 | me.hojoisaac.radius.RadiusModuleme.hojoisaac.radius.RadiusView -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream: -------------------------------------------------------------------------------- 1 | K../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktI../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusView.kt -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream: -------------------------------------------------------------------------------- 1 | K../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktI../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusView.kt -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream: -------------------------------------------------------------------------------- 1 | me.hojoisaac.radius.RadiusModuleme.hojoisaac.radius.RadiusView -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream: -------------------------------------------------------------------------------- 1 | K../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusModule.ktI../modules/radius/android/src/main/java/me/hojoisaac/radius/RadiusView.kt -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream: -------------------------------------------------------------------------------- 1 | me.hojoisaac.radius.RadiusModuleme.hojoisaac.radius.RadiusView -------------------------------------------------------------------------------- /modules/radius/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream: -------------------------------------------------------------------------------- 1 | me/hojoisaac/radius/RadiusModuleSme/hojoisaac/radius/RadiusModule$definition$lambda$3$$inlined$FunctionWithoutArgs$1Mme/hojoisaac/radius/RadiusModule$definition$lambda$3$$inlined$AsyncFunction$1Mme/hojoisaac/radius/RadiusModule$definition$lambda$3$$inlined$AsyncFunction$2Mme/hojoisaac/radius/RadiusModule$definition$lambda$3$$inlined$AsyncFunction$31me/hojoisaac/radius/RadiusModule$definition$1$3$1Mme/hojoisaac/radius/RadiusModule$definition$lambda$3$lambda$2$$inlined$Prop$1Dme/hojoisaac/radius/RadiusModule$definition$lambda$3$$inlined$View$1me/hojoisaac/radius/RadiusView/me/hojoisaac/radius/RadiusModule$definition$1$1Sme/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$FunctionWithoutArgs$1Sme/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$FunctionWithoutArgs$2Mme/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$1Mme/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$2Mme/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$AsyncFunction$31me/hojoisaac/radius/RadiusModule$definition$1$5$1Mme/hojoisaac/radius/RadiusModule$definition$lambda$4$lambda$3$$inlined$Prop$1Dme/hojoisaac/radius/RadiusModule$definition$lambda$4$$inlined$View$1 -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- 1 | import React, { useCallback, useMemo, useRef } from "react"; 2 | import { 3 | View, 4 | Text, 5 | StyleSheet, 6 | Button, 7 | useWindowDimensions, 8 | Platform, 9 | } from "react-native"; 10 | import { 11 | BottomSheetModal, 12 | BottomSheetView, 13 | BottomSheetModalProvider, 14 | BottomSheetBackdrop, 15 | } from "@gorhom/bottom-sheet"; 16 | import { useSafeAreaInsets } from "react-native-safe-area-context"; 17 | 18 | import Animated, { 19 | clamp, 20 | interpolate, 21 | useAnimatedReaction, 22 | useAnimatedStyle, 23 | useSharedValue, 24 | withTiming, 25 | } from "react-native-reanimated"; 26 | import { StatusBar } from "expo-status-bar"; 27 | import CustomBackground from "./components/bottom-sheet/CustomBg"; 28 | import { CustomBottomSheet } from "./components/bottom-sheet/bottomSheet"; 29 | import { Home } from "./screen/Home"; 30 | import { getCornerRadius } from "../modules/radius"; 31 | console.log("🚀 ~ file: App.tsx:7 ~ hello:", getCornerRadius()); 32 | const Main = () => { 33 | // ref 34 | const { top } = useSafeAreaInsets(); 35 | const CORNER_RADIUS = getCornerRadius() === 0 ?20 : getCornerRadius(); 36 | console.log("🚀 ~ file: index.tsx:36 ~ Main ~ CORNER_RADIUS:", CORNER_RADIUS); 37 | 38 | console.log("🚀 ~ file: index.tsx:30 ~ Main ~ top:", top); 39 | 40 | const bottomSheetModalRef = useRef(null); 41 | const { width, height } = useWindowDimensions(); 42 | console.log("🚀 ~ file: App.tsx:27 ~ App ~ height:", height); 43 | const [isDark, setIsDark] = React.useState(false); 44 | 45 | // variables 46 | 47 | // callbacks 48 | const handlePresentModalPress = useCallback(() => { 49 | bottomSheetModalRef.current?.present(); 50 | }, []); 51 | 52 | const animatedPosition = useSharedValue(0); 53 | const animatedValue = useSharedValue(height); 54 | const scaleValue = useMemo( 55 | () => (Platform.OS === "android" ? 0.91 : 0.855), 56 | [] 57 | ); 58 | 59 | const animStyle = useAnimatedStyle(() => { 60 | return { 61 | borderTopLeftRadius: 62 | Platform.OS === "ios" 63 | ? interpolate(animatedValue.value, [height / 1.5, top], [40, 10]) 64 | : interpolate( 65 | animatedValue.value, 66 | [height / 1.5, top], 67 | [CORNER_RADIUS / 2.5, 10] 68 | ), 69 | borderTopRightRadius: 70 | Platform.OS === "ios" 71 | ? interpolate(animatedValue.value, [height / 1.5, top], [40, 10]) 72 | : interpolate( 73 | animatedValue.value, 74 | [height / 1.5, top], 75 | [CORNER_RADIUS / 2.5, 10] 76 | ), 77 | transform: [ 78 | // { 79 | // translateY: interpolate(animatedValue.value, [height, 50], [0, 30]), 80 | // }, 81 | 82 | { 83 | scale: interpolate( 84 | animatedValue.value, 85 | [height / 1.5, top], 86 | [0.974, scaleValue] 87 | ), 88 | }, 89 | ], 90 | }; 91 | }); 92 | 93 | // renders 94 | 95 | useAnimatedReaction( 96 | () => animatedPosition.value, 97 | (position) => { 98 | if (position === 0) { 99 | animatedValue.value = withTiming(height); 100 | return; 101 | } 102 | animatedValue.value = clamp(position, 0, height); 103 | }, 104 | [] 105 | ); 106 | 107 | useAnimatedReaction( 108 | () => animatedValue.value, 109 | (value) => { 110 | console.log("🚀 ~ file: App.tsx:96 ~ useAnimatedReaction ~ value", value); 111 | } 112 | ); 113 | 114 | return ( 115 | <> 116 | 117 | 118 | 125 | 130 | 131 | {/*