Sunday, September 13, 2020

Script to check Titanium modules for references to UIWebView

 

  1. Create a file called check-modules.sh and copy the above contents into the file
  2. Ensure that file has executable permissions chmod +x <path>
  3. Run the file against each module ./check-modules <path> where path is the full path of a module including the platform and version. Making sure to either escape the spaces (like below) or wrapping your path in quotes
  • For example ./check-module.sh /Users/awam/Library/Application\ Support/Titanium/modules/iphone/ti.googlesignin/2.0.4

If the module contains UIWebView references then that will be logged


Code: https://gist.github.com/ewanharris/bf7aa969dd0a99cd83c019feb512e800

No comments:

Post a Comment