Code Monkey home page Code Monkey logo

sample_flutter_app's People

Contributors

mdnafiskhan avatar qvk avatar vibhavsinha avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sample_flutter_app's Issues

IOS for flutter

have some prevision to add the version to IOS on flutter?

not working when I implement initial fullscreen

class _VdoPlaybackViewState extends State {
VdoPlayerController? _controller;
final double aspectRatio = 16 / 9;
ValueNotifier _isFullScreen = ValueNotifier(true); // Set to true initially

@OverRide
void initState() {
super.initState();
_isFullScreen.value = true;
}

// ... rest of your code ...

@OverRide
Widget build(BuildContext context) {
return Scaffold(
body: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Flexible(
child: Container(
child: VdoPlayer(
embedInfo: SAMPLE_1,
onPlayerCreated: (controller) => _onPlayerCreated(controller),
onFullscreenChange: _onFullscreenChange,
onError: _onVdoError,
controls: true, // optional, set false to disable player controls
),
width: MediaQuery.of(context).size.width,
height: _isFullScreen.value
? MediaQuery.of(context).size.height
: _getHeightForWidth(MediaQuery.of(context).size.width),
),
),
ValueListenableBuilder(
valueListenable: _isFullScreen,
builder: (context, dynamic value, child) {
return value ? SizedBox.shrink() : _nonFullScreenContent();
},
),
],
),
);
}

// ... rest of your code ...
}

Pod install failure.

When installing pods I am facing this issue. Can you help me to solve this?

[!] The vdocipher_flutter target sets a Bundle Identifier of org.cocoapods.vdocipher-flutter in its info.plist file. The Bundle Identifier should be set using pod_target_xcconfig: s.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER': 'org.cocoapods.vdocipher-flutter' }`.

App is crashing on Android Dark Theme

signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1725)] Check failed: fml::jni::CheckException(env).
'
x0 0000000000000000 x1 0000000000003804 x2 0000000000000006 x3 0000007fdbc9d0a0
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000080
x8 00000000000000f0 x9 0265e66b6320e395 x10 0000000000000001 x11 0000000000000000
x12 fffffff0fffffbdf x13 0000000000000002 x14 0000000000000001 x15 0000000000000000
x16 0000007ab63ec740 x17 0000007ab63ca740 x18 0000007ab8972000 x19 0000000000003804
x20 0000000000003804 x21 00000000ffffffff x22 0000007a32ccfcc0 x23 00000079c156a178
x24 0000000000000000 x25 0000000000000228 x26 0000000000000000 x27 0000007fdbc9d398
x28 0000000000000081 x29 0000007fdbc9d140
sp 0000007fdbc9d080 lr 0000007ab637a484 pc 0000007ab637a4b0
backtrace:
#00 pc 00000000000744b0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 874ae3776517f9033b48af82e01d6a52)
#1 pc 0000000001cd57ec /data/app/co.ivyonline.app-UBPW8R0LvVz6i7tsJogB-w==/lib/arm64/libflutter.so!libflutter.so (offset 0x1cd4000) (BuildId: 663831bc38df16561687e90a061ef3612aedc929)

App is crashing in IOS

The app is crashing with this log while trying to run the app in ios
`-------------------------------------
Translated Report (Full Report Below)

Incident Identifier: 13AFF10E-943F-4FAC-919E-3D64EED89851
CrashReporter Key: AF4775EB-D666-D77D-7AAC-760D12362EE9
Hardware Model: MacBookAir10,1
Process: Runner [9293]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/B5F6E5BF-85C8-4DDB-AAB2-6AE31701FEFB/data/Containers/Bundle/Application/5D0AE399-D593-4D01-A246-17EFC838472C/Runner.app/Runner
Identifier: com.vdocipher.sampleFlutterApp
Version: 1.0.0 (1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd_sim [1029]
Coalition: com.apple.CoreSimulator.SimDevice.B5F6E5BF-85C8-4DDB-AAB2-6AE31701FEFB [956]
Responsible Process: SimulatorTrampoline [981]

Date/Time: 2023-01-11 09:43:44.2870 +0530
Launch Time: 2023-01-11 09:43:41.9047 +0530
OS Version: macOS 13.0.1 (22A400)
Release Type: User
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0

Last Exception Backtrace:
0 CoreFoundation 0x18040e7bc __exceptionPreprocess + 160
1 libobjc.A.dylib 0x180051144 objc_exception_throw + 56
2 AVFCore 0x1a61c87bc avcks_didProvideKeyRequest + 0
3 AVFCore 0x1a61c8a2c +[AVContentKeySession contentKeySessionWithKeySystem:] + 44
4 VdoFramework 0x100fd3810 0x100fb8000 + 112656
5 VdoFramework 0x100fd35ec 0x100fb8000 + 112108
6 libdispatch.dylib 0x180135768 _dispatch_client_callout + 16
7 libdispatch.dylib 0x180136f5c _dispatch_once_callout + 28
8 VdoFramework 0x100fe3c04 0x100fb8000 + 179204
9 VdoFramework 0x1010117a4 0x100fb8000 + 366500
10 VdoFramework 0x101011824 0x100fb8000 + 366628
11 CFNetwork 0x183eb4468 0x183e05000 + 717928
12 libdispatch.dylib 0x180133fa4 _dispatch_call_block_and_release + 24
13 libdispatch.dylib 0x180135768 _dispatch_client_callout + 16
14 libdispatch.dylib 0x180145018 _dispatch_main_queue_drain + 1220
15 libdispatch.dylib 0x180144b44 _dispatch_main_queue_callback_4CF + 40
16 CoreFoundation 0x180372ca4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
17 CoreFoundation 0x18036d360 __CFRunLoopRun + 1956
18 CoreFoundation 0x18036c7a4 CFRunLoopRunSpecific + 584
19 GraphicsServices 0x188ff7c98 GSEventRunModal + 160
20 UIKitCore 0x10710e37c -[UIApplication _run] + 868
21 UIKitCore 0x107112374 UIApplicationMain + 124
22 Runner 0x100d6af1c main + 64 (AppDelegate.swift:5)
23 dyld_sim 0x100f29fa0 start_sim + 20
24 dyld 0x101151e50 start + 2544
25 ??? 0xe24f800000000000 ???

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1b054a120 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1b059e1e8 pthread_kill + 256
2 libsystem_c.dylib 0x180129e28 abort + 124
3 libc++abi.dylib 0x18023c0c0 abort_message + 128
4 libc++abi.dylib 0x18022c964 demangling_terminate_handler() + 300
5 libobjc.A.dylib 0x180032c78 _objc_terminate() + 124
6 libc++abi.dylib 0x18023b570 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x18023b518 std::terminate() + 52
8 libdispatch.dylib 0x18013577c _dispatch_client_callout + 36
9 libdispatch.dylib 0x180136f5c _dispatch_once_callout + 28
10 VdoFramework 0x100fe3c04 0x100fb8000 + 179204
11 VdoFramework 0x1010117a4 0x100fb8000 + 366500
12 VdoFramework 0x101011824 0x100fb8000 + 366628
13 CFNetwork 0x183eb4468 0x183e05000 + 717928
14 libdispatch.dylib 0x180133fa4 _dispatch_call_block_and_release + 24
15 libdispatch.dylib 0x180135768 _dispatch_client_callout + 16
16 libdispatch.dylib 0x180145018 _dispatch_main_queue_drain + 1220
17 libdispatch.dylib 0x180144b44 _dispatch_main_queue_callback_4CF + 40
18 CoreFoundation 0x180372ca4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
19 CoreFoundation 0x18036d360 __CFRunLoopRun + 1956
20 CoreFoundation 0x18036c7a4 CFRunLoopRunSpecific + 584
21 GraphicsServices 0x188ff7c98 GSEventRunModal + 160
22 UIKitCore 0x10710e37c -[UIApplication _run] + 868
23 UIKitCore 0x107112374 UIApplicationMain + 124
24 Runner 0x100d6af1c main + 64 (AppDelegate.swift:5)
25 dyld_sim 0x100f29fa0 start_sim + 20
26 dyld 0x101151e50 start + 2544`

Unhandled Exception: PlatformException(unregistered_view_type, trying to create a view with an unregistered type, unregistered view type: 'com.vdocipher.flutter/vdoplayerview', null)

Hello,

My app is crashing on iOS device when video players opens and got the error which I mentioned in the title and below side.

Unhandled Exception: PlatformException(unregistered_view_type, trying to create a view with an unregistered type, unregistered view type: 'com.vdocipher.flutter/vdoplayerview', null)

Please give me any solution on this.

Thanks.

@shubham-95 @mdnafiskhan @qvk @rexsateesh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.