Feature/share intent support 13723853070791812408#11
Merged
DivyanshuChipa merged 4 commits intomasterfrom Jan 31, 2026
Merged
Conversation
- Added ACTION_SEND intent filter to AndroidManifest.xml - Implemented ShareScreen for recipient selection and photo preview - Updated MainActivity to handle incoming share intents and navigate to ShareScreen - Integrated with ChatViewModel for file upload and navigation to chat after sending - Added version-aware Uri retrieval for Android 13+ compatibility Co-authored-by: DivyanshuChipa <211708943+DivyanshuChipa@users.noreply.github.com>
- Added ACTION_SEND intent filter for photos. - Implemented ShareScreen with photo preview and recipient selection. - Fixed ForegroundServiceStartNotAllowedException by: - Moving service start to LaunchedEffect in MainActivity. - Adding try-catch around startForeground in IntraBackgroundService. - Adding 'specialUse' service type with required manifest property for Android 14+. - Ensured Share Intent works for both Cold Start and warm start. - Standardized version-aware Uri retrieval. Co-authored-by: DivyanshuChipa <211708943+DivyanshuChipa@users.noreply.github.com>
- Expanded Share Intent support to include video/*, application/*, and text/plain (YouTube links). - Updated ShareScreen with context-specific previews (video icon, document icon, text link preview). - Improved MainActivity logic to handle multiple share types and send them correctly. - Fixed ForegroundServiceStartNotAllowedException crash by ensuring service starts only when activity is in foreground. - Added Android 14+ foreground service stability updates. - Ensured compatibility for older devices like J2 (2015). Co-authored-by: DivyanshuChipa <211708943+DivyanshuChipa@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sharescreen do manually added