Skip to content
Open
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
939b5e9
add trackplayer
amitojsingh Jun 4, 2025
55dd1ea
Merge branch 'dev' into add-audio-player
amitojsingh Jun 10, 2025
7fdc725
Refactor audio player integration and remove unused components
amitojsingh Jun 11, 2025
4642ed8
Update configuration and refactor audio player integration
amitojsingh Jul 11, 2025
4f5769b
Merge branch 'dev' into add-audio-player
amitojsingh Jul 28, 2025
4356eb3
Enhance audio player functionality and settings management
amitojsingh Aug 7, 2025
3c81112
Integrate audio auto-play feature in AudioPlayer component
amitojsingh Aug 7, 2025
05c98a8
Implement default audio track selection in useAudioManifest hook
amitojsingh Aug 7, 2025
fe28919
Refactor audio data mapping and API requests for improved consistency
amitojsingh Aug 13, 2025
b5f62e3
Enhance AudioPlayer component with new features and UI improvements
amitojsingh Aug 15, 2025
30789f0
Update project configuration and enhance ReaderScreen functionality
amitojsingh Aug 18, 2025
1633498
Add react-native-slider dependency and enhance AudioPlayer UI
amitojsingh Aug 21, 2025
1823f90
Integrate Firebase Remote Config and update dependencies
amitojsingh Aug 26, 2025
242f588
Update Firebase dependencies and enhance AudioPlayer functionality
amitojsingh Sep 1, 2025
0e07e6b
Refactor AudioPlayer components for improved styling and prop handling
amitojsingh Sep 2, 2025
8e7ebba
Update prop type for baniID in AudioSettingsModal to string for impro…
amitojsingh Sep 2, 2025
72c9438
Enhance ESLint configuration and refactor imports for improved code o…
amitojsingh Sep 2, 2025
2a07bae
Refactor AudioPlayer styles and components for improved UI consistenc…
amitojsingh Sep 3, 2025
83ecfb3
Update AudioPlayer styles to adjust gap size for improved layout cons…
amitojsingh Sep 3, 2025
b5af3c4
Update AudioPlayer styles to adjust padding for improved layout consi…
amitojsingh Sep 4, 2025
d0c8785
Refactor database update logic to utilize remote configuration
amitojsingh Sep 5, 2025
b54c132
Refactor AudioPlayer components to improve prop handling and clean up…
amitojsingh Sep 5, 2025
4a5d283
Update dependencies and enhance project configuration for improved pe…
amitojsingh Sep 17, 2025
ba0ddae
Merge pull request #296 from KhalisFoundation/294-feature-implement-a…
amitojsingh Sep 22, 2025
d920d4a
Merge branch 'dev' into add-audio-player
amitojsingh Sep 22, 2025
0cfb0f6
Merge branch 'add-audio-player' into optional-firebase-remote-config
amitojsingh Sep 23, 2025
85be198
Remove duplicate import statements in app.js for cleaner code organiz…
amitojsingh Sep 23, 2025
e66f7e0
Refactor Firebase remote configuration handling and update dependencies
amitojsingh Oct 1, 2025
11e5311
Fix import order in useRemote.js for improved code organization
amitojsingh Oct 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .cursor/mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"mcpServers": {
"RadonAi": {
"url": "http://127.0.0.1:51213/mcp",
"type": "http",
"headers": {
"nonce": "f064f8bb-2a49-4d65-9f3d-e8faa6f8bd64"
}
}
}
}
32 changes: 31 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": ["airbnb", "prettier", "plugin:prettier/recommended", "eslint-config-prettier"],
"parser": "@babel/eslint-parser",
"rules": {
"react-native/no-unused-styles": 2,
"curly": "warn",
"import/no-unresolved": "off",
"global-require": 0,
Expand All @@ -25,7 +26,36 @@
"trailingComma": "es5",
"printWidth": 100
}
],
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
"pathGroups": [
{
"pattern": "react*",
"group": "external",
"position": "before"
},
{
"pattern": "@common/**",
"group": "internal",
"position": "before"
},
{
"pattern": "@**",
"group": "internal",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["builtin"],
"newlines-between": "never",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
},
"plugins": ["prettier"]
"plugins": ["prettier", "react-native"]
}
22 changes: 21 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,25 @@
"prettier.semi": true,
"javascript.format.semicolons": "insert",
"prettier.printWidth": 100,
"cSpell.words": ["Pressable"]
"cSpell.words": ["Pressable"],
"react-native-ide.jsxRuntime": "automatic",
"react-native-ide.reactVersion": "19.0.0",
"react-native-ide.reactNativeVersion": "0.78.0",
"typescript.preferences.includePackageJsonAutoImports": "on",
"javascript.preferences.includePackageJsonAutoImports": "on",
"react-native-ide.enableTypeScript": true,
"react-native-ide.enableJavaScript": true,
"react-native-ide.enableJSX": true,
"react-native-ide.moduleResolution": "node",
"react-native-ide.allowSyntheticDefaultImports": true,
"react-native-ide.esModuleInterop": true,
"react-native-ide.enableRenderer": false,
"react-native-ide.enableFabric": false,
"react-native-ide.enableNewArchitecture": false,
"react-native-ide.compatibilityMode": true,
"react-native-ide.moduleMapping": {
"__RNIDE_lib__/JSXRuntime/react-native-78-79/react-jsx-dev-runtime.development.js": "react/jsx-dev-runtime",
"__RNIDE_lib__/rn-renderer/react-native-78-79/ReactFabric-dev.js": "react-native/Libraries/Renderer/implementations/ReactFabric-dev.js"
},
"java.configuration.updateBuildConfiguration": "interactive"
}
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ android {
applicationId = "com.WahegurooNetwork.SundarGutka"
minSdkVersion = rootProject.ext.minSdkVersion
targetSdkVersion = rootProject.ext.targetSdkVersion
versionCode = 162
versionCode = 165
versionName = "5.8.2"
ndk {
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64"
Expand Down
Binary file removed android/app/release/app-release.apk
Binary file not shown.
12 changes: 11 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />

<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher_foreground"
android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme" android:supportsRtl="true">
android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme" android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"
android:usesCleartextTraffic="true">
<activity android:name=".MainActivity" android:exported="true" android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask" android:windowSoftInputMode="adjustResize">
Expand All @@ -16,5 +21,10 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<service android:name="com.doublesymmetry.trackplayer.service.MusicService"
android:foregroundServiceType="mediaPlayback"
android:exported="true"
tools:replace="android:exported" />
</application>
</manifest>
Binary file not shown.
Binary file not shown.
13 changes: 13 additions & 0 deletions android/app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="false">localhost</domain>
<domain includeSubdomains="false">127.0.0.1</domain>
<domain includeSubdomains="false">10.0.2.2</domain>
<domain includeSubdomains="false">192.168.1.1</domain>
<domain includeSubdomains="true">192.168.0.0</domain>
<domain includeSubdomains="true">172.16.0.0</domain>
<domain includeSubdomains="true">10.0.0.0</domain>
</domain-config>
</network-security-config>

2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ buildscript {
}

dependencies {
classpath('com.android.tools.build:gradle:8.6.2')
classpath('com.android.tools.build:gradle:8.8.2')
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
classpath("de.undercouch:gradle-download-task:5.0.1")
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=true
newArchEnabled=false

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
Expand Down
8 changes: 8 additions & 0 deletions android/link-assets-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
"path": "assets/fonts/Arial.ttf",
"sha1": "49f0ee6148e6b674a60450d86faaddbb97d798f3"
},
{
"path": "assets/fonts/BalooPaaji2-Regular.ttf",
"sha1": "cf9d69a8c9fb66b439f85d052b87aed39baeb944"
},
{
"path": "assets/fonts/BalooPaaji2-SemiBold.ttf",
"sha1": "3d1005035934b7575ca07f5e2739a8513a2b0cbc"
},
{
"path": "assets/fonts/GurbaniAkharHeavyTrue.ttf",
"sha1": "5896164bba1b0f17705c040ff1e5c6ebfa636bc5"
Expand Down
1 change: 1 addition & 0 deletions android/node
22 changes: 15 additions & 7 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useEffect } from "react";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import ErrorBoundary from "react-native-error-boundary";
import notifee, { EventType } from "@notifee/react-native";
import SplashScreen from "react-native-splash-screen";
import { Provider } from "react-redux";
import notifee, { EventType } from "@notifee/react-native";
import { PersistGate } from "redux-persist/integration/react";
import {
createStore,
logError,
Expand All @@ -13,8 +13,10 @@ import {
navigateTo,
initializePerformanceMonitoring,
} from "@common";
import Navigation from "./src/navigation";
import { allowTracking } from "./src/common/firebase/analytics";
import { initRC } from "./src/common/firebase/remoteConfig";
import { TrackPlayerSetup } from "./src/common/TrackPlayerUtils";
import Navigation from "./src/navigation";

const { store, persistor } = createStore();
const App = () => {
Expand All @@ -24,9 +26,15 @@ const App = () => {
}, []); // The empty array causes this effect to only run on mount

useEffect(() => {
initializePerformanceMonitoring();
allowTracking();
initializeCrashlytics();
const initializeApp = async () => {
await initRC(); // Wait for remote config to load
initializePerformanceMonitoring();
allowTracking();
initializeCrashlytics();
TrackPlayerSetup();
};

initializeApp();
}, []);

useEffect(() => {
Expand Down
Binary file added assets/fonts/BalooPaaji2-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/BalooPaaji2-SemiBold.ttf
Binary file not shown.
2 changes: 2 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ module.exports = {
alias: {
"@common": "./src/common",
"@database": "./src/database/db",
"@service": "./src/services",
"@config": "./src/config",
},
},
],
Expand Down
Loading