How madsonsilva/notifyapp works
Purpose and entry points
This is a legacy-style React Native mobile project named Notifyapp, targeting Android, iOS, and tvOS. JavaScript starts from platform-specific roots: index.android.js and index.ios.js. Android also contains a prebuilt JS bundle at android/app/src/main/assets/index.android.bundle.
React Native application layer
The shared application behavior is expected to be registered and rendered from the root JS entry files. No separate JS source directory is present in the tree, so the Android bundled artifact may contain code not otherwise represented as editable files.
• index.android.js
• index.ios.js
• android/app/src/main/assets/index.android.bundle
Android native host and packaging
Android boots React Native through the native activity/application pair, which initializes the runtime and hosts the JS-driven UI. Gradle builds the APK, packages resources and the JS bundle, and applies release rules.
• android/app/src/main/java/com/notifyapp/MainActivity.java
• android/app/src/main/java/com/notifyapp/MainApplication.java
• android/app/build.gradle
iOS and tvOS native hosts
Xcode project targets provide the Apple platform shells. The iOS app delegate launches the React Native application; separate tvOS target and scheme indicate Apple TV support, likely sharing the JS layer while using distinct native target configuration.
• ios/Notifyapp/AppDelegate.m
• ios/Notifyapp/main.m
• ios/Notifyapp-tvOS/Info.plist
• ios/Notifyapp.xcodeproj/project.pbxproj
Platform bootstrap flow
On device startup, the native platform launches its host application, initializes React Native, loads platform JavaScript (development entry or packaged Android bundle), then renders the registered app. The principal boundary is between JS application logic and native platform integration: Android Java/Gradle versus Objective-C/Xcode target configuration.
• android/app/src/main/AndroidManifest.xml
• android/app/src/main/assets/index.android.bundle
• ios/Notifyapp/AppDelegate.h
Notifications/external-service integration
The repository name and Android Firebase configuration suggest notification or Google-service integration, though implementation details are not visible in the file tree. Android includes a Google services descriptor, so builds may provision Firebase/Google SDK settings through Gradle.
• android/app/google-services.json
• android/app/build.gradle
• android/build.gradle
Build/runtime infrastructure
The project uses Node/React Native tooling for JS transformation and native Gradle/Xcode builds. Android includes Buck-related files and signing-keystore properties, indicating both standard Gradle packaging and optional Buck-era React Native integration.
• package.json
• .babelrc
• android/gradlew
• android/keystores/debug.keystore.properties
Main entry points: MainActivity.java Main activity · build.gradle App Gradle build · .babelrc Babel transform · AppDelegate.m iOS app delegate
Components 18
React Native JS
- Android JS entry · Registers and renders the shared app.
index.android.js - iOS JS entry · Registers and renders the shared app.
index.ios.js - Prebuilt Android bundle · Packaged JavaScript artifact for Android.
android/app/src/main/assets/index.android.bundle
Android
- Main activity · Hosts the React Native UI.
android/app/src/main/java/com/notifyapp/MainActivity.java - Main application · Initializes the React Native runtime.
android/app/src/main/java/com/notifyapp/MainApplication.java - Android manifest · Declares the Android application and launch activity.
android/app/src/main/AndroidManifest.xml - App Gradle build · Packages resources, bundle, and release rules.
android/app/build.gradle - Google services config · Supplies Android Google/Firebase settings.
android/app/google-services.json
iOS & tvOS
- iOS process entry · Starts the iOS application process.
ios/Notifyapp/main.m - iOS app delegate · Launches the React Native application.
ios/Notifyapp/AppDelegate.m - App delegate interface
ios/Notifyapp/AppDelegate.h - Xcode targets · Defines iOS and tvOS targets and schemes.
ios/Notifyapp.xcodeproj/project.pbxproj - tvOS target config · Apple TV target configuration.
ios/Notifyapp-tvOS/Info.plist
Build tooling
- Node dependencies · Defines React Native tooling and JavaScript dependencies.
package.json - Babel transform
.babelrc - Android root build · Configures Android-wide build plugins and repositories.
android/build.gradle - Gradle wrapper
android/gradlew - Debug keystore settings
android/keystores/debug.keystore.properties
Connections 19
- Android manifest → Main application: declares
- Android manifest → Main activity: launches
- Main application → Main activity: initializes runtime for
- Main activity → Android JS entry: loads in development
- Main activity → Prebuilt Android bundle: loads when packaged
- App Gradle build → Prebuilt Android bundle: packages
- App Gradle build → Google services config: consumes
- Android root build → App Gradle build: configures
- Gradle wrapper → Android root build: runs
- Debug keystore settings → App Gradle build: supplies signing
- Node dependencies → Babel transform: drives tooling
- Babel transform → Android JS entry: transforms
- Babel transform → iOS JS entry: transforms
- iOS process entry → iOS app delegate: starts
- App delegate interface → iOS app delegate: declares
- iOS app delegate → iOS JS entry: loads
- Xcode targets → iOS process entry: builds iOS target
- Xcode targets → tvOS target config: defines
- tvOS target config → iOS JS entry: shares JS layer