Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #85

Merged
merged 5 commits into from
Feb 3, 2025
Merged

Dev #85

merged 5 commits into from
Feb 3, 2025

Conversation

iZakirSheikh
Copy link
Owner

No description provided.

 - Created NowPlaying class to manage current playing media state.
 - Emits state changes via broadcast to improve app/code quality by providing a single source of truth.
 - Enhances app performance as it eliminates waiting for initial update from Playback.kt.

[REFACTOR] Moved widgets package to the main app package.

 [FEAT] Added Chronometer.kt.
  - Enables timer creation without refreshing notifications.

[FEAT] Implemented GoldenDust.kt and other app widgets using new technique.
 - Replaced controller with Widget Update Intent for improved speed and resource efficiency.
 - This will also be used for implementing app home screen widgets and other in-app widgets.

[FEAT] Added stability_config.conf.
 - Provides stability to non-app classes.

[CHORE] Updated compose to version 1.8.0-alpha07.
[FEAT] Added Glance based App Widget.
- Created a new `widget` module.
- Implemented new `Glance` based
``````
 app widget.
- Removed old implementation of `AppWidget`.
- Implemented `Universal` composable for different types of layout.
- Implemented `Chronometer` to show the elapsed time of the song.
- Removed all `drawables` from main module and add them in new `widget` module.

[CHORE] Updated Gradle and dependencies.
- Updated `gradle` to `8.10.2`.
- Updated  `agp` to `8.8.0`.
- Updated `kotlin` to `2.1.0`.
- Updated `room` to `2.6.1`.
- Updated `compose` to `1.8.0-alpha07`
- Updated `lottie-compose` to `6.6.2`.
- Updated `media3` to `1.5.1`.
- Updated `accompanist-
``````
permissions` and `accompanist-adaptive` to `0.37.0`.
- Added new `glance-appwidget` and `glance-material3`.
- Added new  `junit`, `junitVersion`, `espressoCore` and `appcompat`.

[FIX] Fixed minor issue related to `NowPlaying`
- Added intent filter to notify `NowPlaying` to avoid `force stop`.
```
…cies

- Playback: Added `Player.REPEAT_MODE_ALL` support to
 `NowPlaying` intent extras.
- Playback: Updated widget events in `Playback` service to include `UPDATE_EVENTS` which include various events related to playback, timeline etc.
- Dependencies: Updated Compose to `1.8.0-alpha08`, Firebase Analytics to `22.2.0` and Crashlytics to `19.4.0`, Activity Compose to `1.10.0`.
- Gradle: Updated `versionCode` to `182` and `versionName` to `3.3.0-alpha02`.
[FIX] Enhanced Stability and Addressed Build Issues

-   **Stability Configuration**: Added `com.android.billingclient.api.Purchase` and `com.android.billingclient.api.ProductDetails` to stability configuration.
-   **NowPlaying**: Removed `startForegroundService` from `NowPlaying` in favour of `startService`.
-   **Widget UI**: Added a new rounded corner drawable `rect_rounded_cornors_12dp.xml` for improved widget UI.
-   **Dependencies**: Updated Koin Compose to version `4.0.2`.
-   **Universal Widget**: Implemented backward compatibility for rounded corners in widgets using a drawable background.
-   **SystemFacade**: Changed `purchase` function to be non-inline. Added a check for session id to prevent duplicate sessions.
-   **App Insights**: Updated selected tab to `Firebase Crashlytics`. Added `FATAL` to failure types.
-   **Build**: Updated version code to 183 and version name to "3.3.0-rc01".
-  **Playback**: If session is not added, add the session.
- **Playback**: send broadcast when audio session id is updated.
[UPDATE] Enhanced Playback Functionality, Updated Dependencies, and Refined App Settings

- **App Settings**: Updated the `appInsightsSettings.
``````
xml` to include `NON_FATAL` and `FATAL` in failure types.
- **Playback**: Implemented `connect` function in `PlaybackControllerImpl` for service connectivity.
- **Playback**: Added an empty implementation in the `connect` function, to allow connection to `mediaBrowser` but not doing anything.
- **Dependencies**: Updated Kotlin to `2.1.10`, Compose to `1.8.0-beta01`, Material Icons to `1.7.7` and navigation compose to `2.8.6`.
- **Gradle**: Updated `versionCode` to `184` and `versionName` to `3.3.0`.
```
@iZakirSheikh iZakirSheikh merged commit 6f97e51 into master Feb 3, 2025
1 check passed
@iZakirSheikh iZakirSheikh deleted the dev branch February 3, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant