Free-RASP-Flutter: Error while lauching my app

I’ve trying to run my app using freerasp and when it’s launched I get this error at runtime:

======== Exception caught by services library ======================================================
The following MissingPluginException was thrown while activating platform stream on channel plugins.aheaditec.com/events:
MissingPluginException(No implementation found for method listen on channel plugins.aheaditec.com/events)

When the exception was thrown, this was the stack: 
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:165:7)
<asynchronous suspension>
#1      EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:506:9)
<asynchronous suspension>

When I remove this line TalsecApp(callback: callback, config: talsecConfig).start();

It’s not throwing it anymore.

I have a dependency on freerasp: ^1.1.0

Have you experienced something alike in the past?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Hello. We have just released new version of freeRASP which contains API nullchecks which should prevent invalid usage associated with crashes. Talsec Team

Hello.

Thank you for your work. We can confirm that issue is caused by this problem. Our plugin was written when null-safety was out for quite a long time. Our constructor uses required keyword which does not allow null values and also makes named parameters mandatory. Older SDKs will not recognize this though.

expectedSigningHash, expectedPackageName (in AndroidConfig) and appBundleId, appTeamId (for IOSConfig) are mandatory.

This issue will be fixed in next release.

We would like to ask @Pacane and @urbanjagodic if this solved their issue or the issue persists.

Thank you for your cooperation. Talsec Team

Same issue here.

Tried it with a physical android device (OS 11) and an android emulator, but the issue persists. Both happen in a debug build mode.

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.8.1, on Ubuntu 20.04.3 LTS 5.13.0-27-generic,)