mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:39:37 -05:00 
			
		
		
		
	fix(mobile): fix background upload regression on Android (#4139)
This commit is contained in:
		
							parent
							
								
									1a633f3fca
								
							
						
					
					
						commit
						2e0c7abd65
					
				@ -220,7 +220,9 @@ class BackupService {
 | 
				
			|||||||
    final List<String> duplicatedAssetIds = [];
 | 
					    final List<String> duplicatedAssetIds = [];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // DON'T KNOW WHY BUT THIS HELPS BACKGROUND BACKUP TO WORK ON IOS
 | 
					    // DON'T KNOW WHY BUT THIS HELPS BACKGROUND BACKUP TO WORK ON IOS
 | 
				
			||||||
 | 
					    if (Platform.isIOS) {
 | 
				
			||||||
      await PhotoManager.requestPermissionExtend();
 | 
					      await PhotoManager.requestPermissionExtend();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    List<AssetEntity> assetsToUpload = sortAssets
 | 
					    List<AssetEntity> assetsToUpload = sortAssets
 | 
				
			||||||
        // Upload images before video assets
 | 
					        // Upload images before video assets
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user