# madsonsilva/notifyapp architecture

> Architecture diagram of the GitHub repository madsonsilva/notifyapp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/madsonsilva/notifyapp
- Repository: https://github.com/madsonsilva/notifyapp

## Overview

#### 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: [`android/app/src/main/java/com/notifyapp/MainActivity.java`](https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/java/com/notifyapp/MainActivity.java) (Main activity), [`android/app/build.gradle`](https://github.com/madsonsilva/notifyapp/blob/master/android/app/build.gradle) (App Gradle build), [`.babelrc`](https://github.com/madsonsilva/notifyapp/blob/master/.babelrc) (Babel transform), [`ios/Notifyapp/AppDelegate.m`](https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp/AppDelegate.m) (iOS app delegate)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_js["React Native JS"]
  node_android_entry["Android JS entry<br/>JavaScript entry<br/>[index.android.js]"]
  node_ios_entry["iOS JS entry<br/>JavaScript entry<br/>[index.ios.js]"]
  node_android_bundle["Prebuilt Android bundle<br/>JS bundle"]
end

subgraph group_android["Android"]
  node_android_activity["Main activity<br/>Android activity<br/>[MainActivity.java]"]
  node_android_application["Main application<br/>Android application"]
  node_android_manifest["Android manifest"]
  node_android_app_gradle["App Gradle build<br/>Gradle module<br/>[build.gradle]"]
  node_google_services["Google services config<br/>Firebase config"]
end

subgraph group_apple["iOS &amp; tvOS"]
  node_ios_main["iOS process entry<br/>Objective-C entry<br/>[main.m]"]
  node_ios_delegate["iOS app delegate<br/>React Native host<br/>[AppDelegate.m]"]
  node_ios_delegate_header["App delegate interface<br/>Objective-C header<br/>[AppDelegate.h]"]
  node_xcode_project["Xcode targets<br/>Xcode project<br/>[project.pbxproj]"]
  node_tvos_target["tvOS target config<br/>[Info.plist]"]
end

subgraph group_build["Build tooling"]
  node_package_json["Node dependencies<br/>Node manifest<br/>[package.json]"]
  node_babel["Babel transform<br/>JS transform config<br/>[.babelrc]"]
  node_android_root_gradle["Android root build<br/>Gradle build<br/>[build.gradle]"]
  node_gradle_wrapper["Gradle wrapper<br/>Build launcher"]
  node_keystore_props["Debug keystore settings<br/>Signing config"]
end

node_android_manifest -->|"declares"| node_android_application
node_android_manifest -->|"launches"| node_android_activity
node_android_application -->|"initializes runtime for"| node_android_activity
node_android_activity -->|"loads in development"| node_android_entry
node_android_activity -->|"loads when packaged"| node_android_bundle
node_android_app_gradle -->|"packages"| node_android_bundle
node_android_app_gradle -->|"consumes"| node_google_services
node_android_root_gradle -->|"configures"| node_android_app_gradle
node_gradle_wrapper -->|"runs"| node_android_root_gradle
node_keystore_props -.->|"supplies signing"| node_android_app_gradle
node_package_json -->|"drives tooling"| node_babel
node_babel -.->|"transforms"| node_android_entry
node_babel -.->|"transforms"| node_ios_entry
node_ios_main -->|"starts"| node_ios_delegate
node_ios_delegate_header -->|"declares"| node_ios_delegate
node_ios_delegate -->|"loads"| node_ios_entry
node_xcode_project -->|"builds iOS target"| node_ios_main
node_xcode_project -->|"defines"| node_tvos_target
node_tvos_target -.->|"shares JS layer"| node_ios_entry

click node_android_entry "https://github.com/madsonsilva/notifyapp/blob/master/index.android.js"
click node_ios_entry "https://github.com/madsonsilva/notifyapp/blob/master/index.ios.js"
click node_android_bundle "https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/assets/index.android.bundle"
click node_android_activity "https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/java/com/notifyapp/MainActivity.java"
click node_android_application "https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/java/com/notifyapp/MainApplication.java"
click node_android_manifest "https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/AndroidManifest.xml"
click node_android_app_gradle "https://github.com/madsonsilva/notifyapp/blob/master/android/app/build.gradle"
click node_google_services "https://github.com/madsonsilva/notifyapp/blob/master/android/app/google-services.json"
click node_ios_main "https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp/main.m"
click node_ios_delegate "https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp/AppDelegate.m"
click node_ios_delegate_header "https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp/AppDelegate.h"
click node_xcode_project "https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp.xcodeproj/project.pbxproj"
click node_tvos_target "https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp-tvOS/Info.plist"
click node_package_json "https://github.com/madsonsilva/notifyapp/blob/master/package.json"
click node_babel "https://github.com/madsonsilva/notifyapp/blob/master/.babelrc"
click node_android_root_gradle "https://github.com/madsonsilva/notifyapp/blob/master/android/build.gradle"
click node_gradle_wrapper "https://github.com/madsonsilva/notifyapp/blob/master/android/gradlew"
click node_keystore_props "https://github.com/madsonsilva/notifyapp/blob/master/android/keystores/debug.keystore.properties"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_android_entry,node_ios_entry,node_android_bundle toneBlue
class node_android_activity,node_android_application,node_android_manifest,node_android_app_gradle,node_google_services toneAmber
class node_ios_main,node_ios_delegate,node_ios_delegate_header,node_xcode_project,node_tvos_target toneMint
class node_package_json,node_babel,node_android_root_gradle,node_gradle_wrapper,node_keystore_props toneRose
```

## Components

### React Native JS

- [Android JS entry](https://github.com/madsonsilva/notifyapp/blob/master/index.android.js): JavaScript entry · Registers and renders the shared app. · `index.android.js`
- [iOS JS entry](https://github.com/madsonsilva/notifyapp/blob/master/index.ios.js): JavaScript entry · Registers and renders the shared app. · `index.ios.js`
- [Prebuilt Android bundle](https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/assets/index.android.bundle): JS bundle · Packaged JavaScript artifact for Android. · `android/app/src/main/assets/index.android.bundle`

### Android

- [Main activity](https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/java/com/notifyapp/MainActivity.java): Android activity · Hosts the React Native UI. · `android/app/src/main/java/com/notifyapp/MainActivity.java`
- [Main application](https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/java/com/notifyapp/MainApplication.java): Android application · Initializes the React Native runtime. · `android/app/src/main/java/com/notifyapp/MainApplication.java`
- [Android manifest](https://github.com/madsonsilva/notifyapp/blob/master/android/app/src/main/AndroidManifest.xml): Android manifest · Declares the Android application and launch activity. · `android/app/src/main/AndroidManifest.xml`
- [App Gradle build](https://github.com/madsonsilva/notifyapp/blob/master/android/app/build.gradle): Gradle module · Packages resources, bundle, and release rules. · `android/app/build.gradle`
- [Google services config](https://github.com/madsonsilva/notifyapp/blob/master/android/app/google-services.json): Firebase config · Supplies Android Google/Firebase settings. · `android/app/google-services.json`

### iOS & tvOS

- [iOS process entry](https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp/main.m): Objective-C entry · Starts the iOS application process. · `ios/Notifyapp/main.m`
- [iOS app delegate](https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp/AppDelegate.m): React Native host · Launches the React Native application. · `ios/Notifyapp/AppDelegate.m`
- [App delegate interface](https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp/AppDelegate.h): Objective-C header · `ios/Notifyapp/AppDelegate.h`
- [Xcode targets](https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp.xcodeproj/project.pbxproj): Xcode project · Defines iOS and tvOS targets and schemes. · `ios/Notifyapp.xcodeproj/project.pbxproj`
- [tvOS target config](https://github.com/madsonsilva/notifyapp/blob/master/ios/Notifyapp-tvOS/Info.plist): tvOS target · Apple TV target configuration. · `ios/Notifyapp-tvOS/Info.plist`

### Build tooling

- [Node dependencies](https://github.com/madsonsilva/notifyapp/blob/master/package.json): Node manifest · Defines React Native tooling and JavaScript dependencies. · `package.json`
- [Babel transform](https://github.com/madsonsilva/notifyapp/blob/master/.babelrc): JS transform config · `.babelrc`
- [Android root build](https://github.com/madsonsilva/notifyapp/blob/master/android/build.gradle): Gradle build · Configures Android-wide build plugins and repositories. · `android/build.gradle`
- [Gradle wrapper](https://github.com/madsonsilva/notifyapp/blob/master/android/gradlew): Build launcher · `android/gradlew`
- [Debug keystore settings](https://github.com/madsonsilva/notifyapp/blob/master/android/keystores/debug.keystore.properties): Signing config · `android/keystores/debug.keystore.properties`

## Connections

- 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
