This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New architecture based on Okio and separated utility libraries (#59)
* Rename sample folder * Update Kotlin plugin & AGP * Add storage artefact * Remove views sample * Add Compose sample generated files * Add asset files for storage tests * Upgrade to Okio 3.0.0-alpha11 Rename AndroidFileSystem to SharedFileSystem * Create MediaStoreUtils for storage tests * Add instrument test boilerplate * Upgrade dependencies * Implement source method in SharedFileSystem Add extensions functions around Path and Uri conversions Instrument tests are still in progress * Update to Okio 3.0.0 stable Implement sink method Throw UnsupportedOperationException on unsupported methods * Apply spotless * Rename sample folder * Remove IDE config files * Implement metadataOrNull method in SharedFileSystem Update spotlessApply run configuration * Add manifest for tests * Apply spotless * Implement list method in SharedFileSystem * Add first Storage Access Framework test * Ignore Android Studio IDE files (not needed anymore) * Add draft of permissions library * Add initial experiments of photo picker API * Add Photo Picker to SAF * Add PhotoPicker ActivityResultContract Apply spotless * Merge permissions library * Remove unused tests * Add draft of a more generic method to check permissions * Fix permissions check logic * Add POM artifact metadata for new modules * Rename Ownership parameter in StoragePermissions to CreatedBy * Upgrading to AGP 7.0.4 Set test dependency precise version * Remove TODO (type parameter is required for multiple mime types) * Check storage permissions until Android 12 (S) Update comments * Add Permissions guide * Add storage guide Update storage metadata related classes Update permissions guide Change PhotoPicker type constants to Kotlin enum * Generate API metadata for new libraries Add metalava run configurations Update dependencies * Update API metadata to reflect @JvmInline annotations Upgrade metalava Gradle plugin * Add run sample configuration * Add photo picker demo Fix file metadata fetching for photo picker entries Add MediaPreviewCard composable Update storage guide * Update Select Document File demo * Simplify demo names * Add scanUri and createMediaStoreUri methods in SharedFileSystem Add AddMedia demo Update API metadata * Move demo logic to view model Add placeholder for permissions demo * Refactor demos Remove unused code & string resources * Simplify storage permissions parameters Finish permissions demo Simplify layout structure in SelectDocumentFileScreen Update API metadata * Simplify demo layouts structure * Simplify demo layouts structure Add sample text file * Add AddFileToDownloads demo Add audio in the list of options in AddMedia demo * Add MediaStore tests Update SAF tests * Update createMediaStoreUri method Fix compatibility issue on devices < API 29 * Apply Spotless * Add tests in Github Actions * Fix sample by updating SharedFilesystem API usage * Implement delete method in SharedFileSystem Enable legacyExternalStorage flag in test app * Disable running instrumented tests on GitHub Actions I need further tuning to get the right infrastructure and that will delay this release (which is already late) * Update README.md * Simplify root README.md file * Bring back mediastore and filesystem packages to deprecate them * Deprecate filesystem & storage modules * Add deprecation notice in the fileystem & mediastore guides * Add deprecation notice in the API metadata * Upgrade modules version Apply Dokka & Maven Publish plugins to the new modules Upgrade dependencies * Update API metadata
- Loading branch information