-
Notifications
You must be signed in to change notification settings - Fork 33
Mob 3850 patch for allowed protocols #415
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
Mob 3850 patch for allowed protocols #415
Conversation
1. InAppManager no more holds array of allowedProtocols. Its always accessed from IterableConfig. 2. `isUrlOpenAllowed` is now a common utility method in IterableUtil 3. Modified test methods to accomodate the changes
Codecov Report
@@ Coverage Diff @@
## jay/MOB-3769-allowed-protocols #415 +/- ##
==================================================================
- Coverage 66.99% 66.98% -0.01%
==================================================================
Files 63 63
Lines 3833 3823 -10
Branches 447 445 -2
==================================================================
- Hits 2568 2561 -7
+ Misses 1003 998 -5
- Partials 262 264 +2
Continue to review full report at Codecov.
|
4623213 to
ce2dcaf
Compare
1. Only place to check if the url is allowed is through the Util method which checks the allowedProtocols list from config. 2. Removed method signatures that were introduced because of this 3. Test methods update 4. Logs if the url was blocked
13efc07 to
2bfb786
Compare
davidtruong
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look fine per the changes we discussed in MOB-3850.
…cols Mob 3850 patch for allowed protocols
…cols Mob 3850 patch for allowed protocols
🔹 Jira Ticket(s) if any
[* MOB-XXXX](https://iterable.atlassian.net/browse/MOB-3850)
✏️ Description
isUrlOpenAllowedis now a common utility method in IterableUtil