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

Talsec.instance.start does not complete #67

Closed
chimon2000 opened this issue May 19, 2023 · 6 comments · Fixed by #69
Closed

Talsec.instance.start does not complete #67

chimon2000 opened this issue May 19, 2023 · 6 comments · Fixed by #69
Assignees
Labels
bug Something isn't working iOS This issue is related to iOS only to be fixed This issue will be fixed in the future

Comments

@chimon2000
Copy link

Describe the bug
When calling await Talsec.instance.start(config), the initialization function never completes, causing the application to hang.

To Reproduce
Execute await Talsec.instance.start(config) during app start.

Expected behavior
The call either completes once Talsec starts or throws if there is an error.

Screenshots
n/a

Please complete the following information:

  • Device: iOS emulator
  • OS version: N/a
  • Version of freeRASP: 5.0.1

Additional context
n/a

@chimon2000 chimon2000 added the bug Something isn't working label May 19, 2023
@yardexx
Copy link
Member

yardexx commented May 19, 2023

Hello, @chimon2000

How do you create TalsecConfig? Do you create it using standard constructor or using fromJson() constructor?

Also, could you provide your config? You can redact necessary data.

@chimon2000
Copy link
Author

Using the standard constructor.

@chimon2000
Copy link
Author

If I don't await the start command then everything works fine. It's only when I do that the app hangs.

@yardexx
Copy link
Member

yardexx commented May 19, 2023

Thank you for your input. Working on it!

@yardexx yardexx added to be fixed This issue will be fixed in the future iOS This issue is related to iOS only labels May 19, 2023
@yardexx
Copy link
Member

yardexx commented May 19, 2023

I managed to reproduce, find and fix the issue. I will release the fix later today.

Thank you again for reporting this issue.

@yardexx yardexx mentioned this issue May 19, 2023
7 tasks
@yardexx
Copy link
Member

yardexx commented May 19, 2023

We released freeRASP 5.0.2 which fixes this issue. Update your pubspec.yaml to get a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iOS This issue is related to iOS only to be fixed This issue will be fixed in the future
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants