Documents to use cloudinary size, not actual file size.

This commit is contained in:
Patrick Fic
2021-05-04 09:09:32 -07:00
parent 0929ef3f49
commit 02e0f7ba7d
2 changed files with 4 additions and 4 deletions

View File

@@ -2,18 +2,18 @@
"expo": { "expo": {
"name": "imexmobile", "name": "imexmobile",
"slug": "imexmobile", "slug": "imexmobile",
"version": "1.0.5", "version": "1.0.7",
"orientation": "default", "orientation": "default",
"icon": "./assets/logo192noa.png", "icon": "./assets/logo192noa.png",
"ios": { "ios": {
"supportsTablet": true, "supportsTablet": true,
"bundleIdentifier": "com.imex.imexmobile", "bundleIdentifier": "com.imex.imexmobile",
"buildNumber": "1.0.6", "buildNumber": "1.0.7",
"googleServicesFile": "./GoogleService-Info.plist" "googleServicesFile": "./GoogleService-Info.plist"
}, },
"android": { "android": {
"package": "com.imex.imexmobile", "package": "com.imex.imexmobile",
"versionCode": 5, "versionCode": 7,
"googleServicesFile": "./google-services.json" "googleServicesFile": "./google-services.json"
}, },
"splash": { "splash": {

View File

@@ -153,7 +153,7 @@ export const uploadToCloudinary = async (
type: fileType, type: fileType,
extension: extension, extension: extension,
bodyshopid: bodyshop.id, bodyshopid: bodyshop.id,
size: file.size, size: cloudinaryUploadResponse.data.bytes || file.size,
}, },
], ],
}, },