You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://pub.dev/packages/video_uploader
It works in debug mode as well.
But in the release mode, it works but response of uploading are null for each paramter.
Hi,
Thanks for reporting this bug.
I can't reproduce exactly the same problem but there is indeed something odd with the obfuscation that we must fix.
What upload method do you use?
As a workaround,you can set minifyEnabled to false in your application build.gradle.
I don't think the issue on proguard is the issue you are looking at.
Anyway, I fixed in in the main branch. (and I also added a toString() for the Video object).
On my side, VideoAssets always returns correct value.
Is there a way I can reproduce your issue on my side? (like in the example, in a test application)?
Version
1.2.1
Environment that reproduces the issue
Google pixel6a Android 14
Android studio emulator,
Vivo android 13
Flutter 3.16.7 ~ 3.19.1
Is it reproducible in the example application?
Yes
Reproduction steps
After implement the package, I tried to test it as release mode.
But response's property has null always.
Expected result
In the response,
Current release mode sends all null
"assets": {hls: null, iframe: null, player: null, thumbnail: null, mp4: null}
I want to get the correct value for each parameter of assets.
"assets": {
"hls": "https://vod.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik/hls/manifest.m3u8",
"iframe": "<iframe src="https://embed.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik\" width="100%" height="100%" frameborder="0" scrolling="no" allowfullscreen="true"></iframe>",
"player": "https://embed.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik",
"thumbnail": "https://vod.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik/thumbnail.jpg",
"mp4": "https://vod.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik/mp4/source.mp4"
},
Actual result
Greetings API.video team.
https://pub.dev/packages/video_uploader
It works in debug mode as well.
But in the release mode, it works but response of uploading are null for each paramter.
Please help me what I do to receive correct response.
Best regards.
Thank you.
Additional context
Video ID: vi7mdtR2wbth2lpgIazD74Ik
Relevant logs output
The text was updated successfully, but these errors were encountered: