Skip to content

Commit

Permalink
Dropbox Support (#57)
Browse files Browse the repository at this point in the history
* Implement backup folder

* Implement backup folder

* Implement backup folder

* Implement upload and download for dropbox

* Implement upload and download for dropbox

* Implement delete media in dropbox

* Minor fix

* Minor fix

* Fix upload error

* Implement dropbox

* Implement dropbox

* Improve upload and download

* Improve upload and download

* Implement auto backup feature in google drive

* Improve repo code

* Implemented database update timer

* Implement dropbox metadata

* Implement dropbox metadata

* Did some minor improvement

* Did some minor improvement

* Fix home screen error

* Fix home screen error

* Cache media into local storage and prevent memory usage

* Cache media into local storage and prevent memory usage

* Add dropbox preview

* Improve l10n

* Improve minor ui

* Show dropbox preview

* Minor improvement

* Added debounce on database update

* Create backup folder automated

* Create backup folder automated

* Implement create-dropbox-backup-folder

* Remove secrets

* Update workflow

* Fix notification icon issue

* Minor improvement

* Remove unused import

* Minor improvement
  • Loading branch information
cp-pratik-k authored Dec 9, 2024
1 parent 6f98062 commit ccb96dc
Show file tree
Hide file tree
Showing 97 changed files with 7,793 additions and 3,118 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ jobs:
GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
GOOGLE_SERVICE_INFO_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICE_INFO_PLIST_BASE64 }}
FIREBASE_APP_ID_FILE_JSON_BASE64: ${{ secrets.FIREBASE_APP_ID_FILE_JSON_BASE64 }}
APP_SECRETS_BASE64: ${{ secrets.APP_SECRETS_BASE64 }}

run: |
cd app
echo $FIREBASE_OPTIONS_BASE64 | base64 -di > lib/firebase_options.dart
echo $GOOGLE_SERVICES_JSON_BASE64 | base64 -di > android/app/google-services.json
echo $GOOGLE_SERVICE_INFO_PLIST_BASE64 | base64 --decode > ios/Runner/GoogleService-Info.plist
echo $FIREBASE_APP_ID_FILE_JSON_BASE64 | base64 --decode > ios/firebase_app_id_file.json
cd ../data
echo $APP_SECRETS_BASE64 | base64 --decode > lib/apis/network/secrets.dart
- name: Install dependencies
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ jobs:
env:
FIREBASE_OPTIONS_BASE64: ${{ secrets.FIREBASE_OPTIONS_BASE64 }}
GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
APP_SECRETS_BASE64: ${{ secrets.APP_SECRETS_BASE64 }}
run: |
cd app
echo $FIREBASE_OPTIONS_BASE64 | base64 -di > lib/firebase_options.dart
echo $GOOGLE_SERVICES_JSON_BASE64 | base64 -di > android/app/google-services.json
cd ../data
echo $APP_SECRETS_BASE64 | base64 --decode > lib/apis/network/secrets.dart
- name: Install dependencies
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/android_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ jobs:
env:
FIREBASE_OPTIONS_BASE64: ${{ secrets.FIREBASE_OPTIONS_BASE64 }}
GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
APP_SECRETS_BASE64: ${{ secrets.APP_SECRETS_BASE64 }}
run: |
cd app
echo $FIREBASE_OPTIONS_BASE64 | base64 -di > lib/firebase_options.dart
echo $GOOGLE_SERVICES_JSON_BASE64 | base64 -di > android/app/google-services.json
cd ../data
echo $APP_SECRETS_BASE64 | base64 --decode > lib/apis/network/secrets.dart
- name: Install dependencies
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ios_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ jobs:
FIREBASE_OPTIONS_BASE64: ${{ secrets.FIREBASE_OPTIONS_BASE64 }}
GOOGLE_SERVICE_INFO_PLIST_BASE64: ${{ secrets.GOOGLE_SERVICE_INFO_PLIST_BASE64 }}
FIREBASE_APP_ID_FILE_JSON_BASE64: ${{ secrets.FIREBASE_APP_ID_FILE_JSON_BASE64 }}
APP_SECRETS_BASE64: ${{ secrets.APP_SECRETS_BASE64 }}
run: |
cd app
echo $FIREBASE_OPTIONS_BASE64 | base64 --decode > lib/firebase_options.dart
echo $GOOGLE_SERVICE_INFO_PLIST_BASE64 | base64 --decode > ios/Runner/GoogleService-Info.plist
echo $FIREBASE_APP_ID_FILE_JSON_BASE64 | base64 --decode > ios/firebase_app_id_file.json
cd ../data
echo $APP_SECRETS_BASE64 | base64 --decode > lib/apis/network/secrets.dart
- name: Install dependencies
run: |
cd app
Expand Down
Loading

0 comments on commit ccb96dc

Please sign in to comment.