-
Notifications
You must be signed in to change notification settings - Fork 5
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
Not Working In IOS #28
Comments
Hi @codehack26, did this happen on fresh install of freeRASP, or are you updating from a previous version? Best, |
Hi @tompsota Thanks for the quick response. Its an fresh installation. We have tried on standalone project (Blank project) as well as on our project. Issue is still same for both the projects We are using Xcode 15.3 |
@tompsota Were you able to reproduce the issues.? |
Hi @codehack26, No, I wasn't able to reproduce. What version of 'cordova-ios' and 'cordova-plugin-add-swift-support' are you using? Additionally, in the following gist is index.js of a demo app I used for testing. It should start freeRASP and log any detected incidents. https://gist.github.com/tompsota/f2a9e70ac6497cdb0ffe10dced16c80b . Can you try it on the blank project to see if the issue is still there? |
@tompsota Please find the details Can you try it on the blank project to see if the issue is still there? |
Hello @codehack26, I was finally able to reproduce the bug. It is caused by However, newer versions of the ios plugin do not throw the error, so maybe consider to bump the Cheers, Tomas from Talsec |
@tompsota Thanks for the update. Awaiting for the fix for lower version of cordova-ios |
Issue should be resolved in v6.1.2 @codehack26, please try to update the freerasp plugin Best, |
@tompsota Appreciate your quick response. We will let you know if we face any issue. |
@codehack26 Still we are facing same issue. Screenshot attached for your reference. We have update the TalsecPlugin.swift manually as of now. I have not see any other change with the latest commit apart from TalsecPlugin.swift |
@codehack26 Allright. Let's try different approach. Can you try to replace the SecurityThreat extension with following code? https://gist.github.com/tompsota/737ffb2a8599641644f4fd72de38af64 Let me know if this helped, and I'll create a new release then. |
@tompsota Error is resolved. App is not crashing now. Exploring the configuration(debug, jailbreak etc) available on IOS |
Issue is resolved in v6.1.3. |
Describe the bug
A clear and concise description of what the bug is.
App crashes with an exception in TalsecPlugin
To Reproduce
If applicable, steps to reproduce the behavior.
Step 1: Installed the cordova plugin add cordova-plugin-add-swift-support --save
Step 2: Installed the cordova plugin add cordova-talsec-plugin-freerasp
Step 3: Configuration Code added in JS file
Step 4: Run the Real device with simulator
Expected behavior
A clear and concise description of what you expected to happen.
App should not crash & detect type of Security Threat
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: