• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Academy Lms Student Mobile App - Flutter iOS & Android

Academy Lms Student Mobile App - Flutter iOS & Android 2.5

No permission to download
Can you please help me when i tried to update pod player I get error on other libraries

Running Gradle task 'assembleRelease'...
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.3/lib/src/image_provider/cached_network_image_provider.dart:78:54: Error: Type 'DecoderCallback' not found.
image_provider.CachedNetworkImageProvider key, DecoderCallback decode) {
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.3/lib/src/image_provider/cached_network_image_provider.dart:99:5: Error: Type 'DecoderCallback' not found.
DecoderCallback decode,
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image_platform_interface-2.0.0/lib/cached_network_image_platform_interface.dart:29:5: Error: Type 'DecoderCallback' not found.
DecoderCallback decode,
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.3/lib/src/image_provider/_image_loader.dart:25:5: Error: Type 'DecoderCallback' not found.
DecoderCallback decode,
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42: Error: Type 'DecoderCallback' not found.
ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48: Error: Type 'DecoderCallback' not found.
ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
lib/widgets/app_bar_two.dart:9:51: Error: The class 'PreferredSizeWidget' can't be used as a mixin because it isn't a mixin class nor a mixin.
class CustomAppBarTwo extends StatefulWidget with PreferredSizeWidget {
^
lib/widgets/app_bar.dart:11:48: Error: The class 'PreferredSizeWidget' can't be used as a mixin because it isn't a mixin class nor a mixin.
class CustomAppBar extends StatefulWidget with PreferredSizeWidget {
^
lib/screens/download_list_screen.dart:355:48: Error: The argument type 'File?' can't be assigned to the parameter type 'File' because 'File?' is nullable and 'File' isn't.
- 'File' is from 'dart:io'.
playVideoFrom: PlayVideoFrom.file(widget.file),
^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.3/lib/src/image_provider/cached_network_image_provider.dart:78:54: Error: 'DecoderCallback' isn't a type.
image_provider.CachedNetworkImageProvider key, DecoderCallback decode) {
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.3/lib/src/image_provider/cached_network_image_provider.dart:99:5: Error: 'DecoderCallback' isn't a type.
DecoderCallback decode,
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image_platform_interface-2.0.0/lib/cached_network_image_platform_interface.dart:29:5: Error: 'DecoderCallback' isn't a type.
DecoderCallback decode,
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.3/lib/src/image_provider/_image_loader.dart:25:5: Error: 'DecoderCallback' isn't a type.
DecoderCallback decode,
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42: Error: 'DecoderCallback' isn't a type.
ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48: Error: 'DecoderCallback' isn't a type.
ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception


FAILURE: Build failed with an exception.

* Where:
Script 'C:\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1343

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 55s
Running Gradle task 'assembleRelease'... 182.7s
Gradle task assembleRelease failed with exit code 1
delete cach
 
Please help me when i tried to build apk:

/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/universal_html-2.2.2/lib/src/html/dom/element_subclasses.dart:2752:30: Error: The argument type 'String?' can't be assigned
to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't.
- 'Object' is from 'dart:core'.
final parsed = css.parse(text);
^
lib/screens/mcbd_three.dart:89:40: Error: The argument type 'void Function(String, DownloadTaskStatus, int)' can't be assigned to the parameter type 'void Function(String, int, int)'.
- 'DownloadTaskStatus' is from 'package:flutter_downloader/src/models.dart' ('/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_downloader-1.10.5/lib/src/models.dart').
FlutterDownloader.registerCallback(downloadCallback);
^
lib/screens/mcbd_two.dart:88:40: Error: The argument type 'void Function(String, DownloadTaskStatus, int)' can't be assigned to the parameter type 'void Function(String, int, int)'.
- 'DownloadTaskStatus' is from 'package:flutter_downloader/src/models.dart' ('/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_downloader-1.10.5/lib/src/models.dart').
FlutterDownloader.registerCallback(downloadCallback);
^
lib/screens/my_course_detail_screen.dart:93:40: Error: The argument type 'dynamic Function(String, DownloadTaskStatus, int)' can't be assigned to the parameter type 'void Function(String, int, int)'.
- 'DownloadTaskStatus' is from 'package:flutter_downloader/src/models.dart' ('/C:/Users/uStudy/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_downloader-1.10.5/lib/src/models.dart').
FlutterDownloader.registerCallback(downloadingCallback);
^
Target kernel_snapshot failed: Exception


FAILURE: Build failed with an exception.

* Where:
Script 'E:\dev\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1157

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'E:\dev\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 42s
Running Gradle task 'assembleRelease'... 284.3s
Gradle task assembleRelease failed with exit code 1
 
The argument type 'void Function(String, DownloadTaskStatus, int)' can't be assigned to the parameter type 'void Function(String, int, int)'.
 
I am getting this error while using Flutter 3.7.7 and a clean project.

It occurs when I click a course while signed in. When not signed in it works correctly.
are you share your environment for this build
flutter --version
?
 

version 2.4 – 11 September, 2023

- latest flutter support (v3.13.3)
- YouTube video playing issue fixed
 
  • Like
Reactions: zhong
Hopefully this helps

So I have been trying to debug what the issue is, it seems that when the user is logged in and server is sending the course details via the api call that includes session variable the response json has:

Is Purchased as Null.

This means if you don't login and it uses an api call without session variable etc. and view a course it will be show the course details correctly. You can verify this by changing this code below to not check for isPurchased and it will load correctly. This breaks functionality so its not a solution but shows what is wrong. You can also call the API's for getting course and see the json retrieved.


Code:
                                color: loadedCourseDetail.isPurchased!
                                  ? kGreenPurchaseColor
                                  : kRedColor,
                              textColor: Colors.white,
                              padding: const EdgeInsets.symmetric(
                                  horizontal: 20, vertical: 10),
                              splashColor: Colors.blueAccent,
                              shape: RoundedRectangleBorder(
                                borderRadius: BorderRadius.circular(7.0),
                                // side: BorderSide(color: kBlueColor),
                              ),
                              child: Text(
                                loadedCourseDetail.isPurchased!
                                    ? 'Purchased'
                                    : loadedCourse.isFreeCourse == '1'
                                        ? 'Get Enroll'
                                        : 'Buy Now',
                                style: const TextStyle(
                                    fontWeight: FontWeight.w400, fontSize: 16),
                              ),

So my opinion is that its a server side API issue and not a client side. The database seems to store the values all correctly so it must just be a fault with calling the Get Course with a Session token.
 
  • Like
Reactions: Kukaaltai
@Dexter593 Please update
version 2.5 – 12 October, 2023- Latest flutter version support(v3.13.6)
- Implemented device verification
- Account deletion feature added
- Google Drive video playable and offline save available
- Video download permission issue for Andriod 13 resolved
- External storage access permission removed for Play Store policy
- Included drip content for quiz
- Text lesson html formatting resolved
- System file accessible and other features available in Academy LMS version 6.3 or above
 
  • Like
Reactions: zhong and Kukaaltai
Dexter593 updated Academy Lms Student Mobile App - Flutter iOS & Android with a new update entry:

Academy LMS Flutter App 2.5 Untouched

version 2.5 – 12 October, 2023- Latest flutter version support(v3.13.6)
- Implemented device verification
- Account deletion feature added
- Google Drive video playable and offline save available
- Video download permission issue for Andriod 13 resolved
- External storage access permission removed for Play Store policy
- Included drip content for quiz
- Text lesson html formatting resolved
- System file accessible and other features available in Academy LMS version 6.3 or above

Read the rest of this update entry...
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock