Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: PlatformException #5

Open
Dhaval01807 opened this issue Dec 9, 2024 · 1 comment
Open

Unhandled Exception: PlatformException #5

Dhaval01807 opened this issue Dec 9, 2024 · 1 comment

Comments

@Dhaval01807
Copy link

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(-4, IPC failed, IPC failed, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)

#2 OpenVPN.initialize. (package:oneconnect_flutter/src/vpn_engine.dart:123:13)

//Function To Start Or Connect To Vpn Engine
void initialize(BuildContext context) {

engine = OpenVPN(
    onVpnStageChanged: onVpnStageChanged,
    onVpnStatusChanged: onVpnStatusChanged)
  ..initialize(
    lastStatus: onVpnStatusChanged,
    lastStage: (stage) => onVpnStageChanged(stage, stage.name),
    groupIdentifier: groupIdentifier,
    localizedDescription: localizationDescription,
    providerBundleIdentifier: providerBundleIdentifier,
  );

}

I Have Facing Difficulty In IOS Build Or Execution
Can You Provide With Solution Or Proper Documentation Of IOS

@oneconnectapi
Copy link
Owner

Hi, may i know the xcode version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants