Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27367] iOS: Apps can be rejected when including UIWebView refs

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-09-04T17:55:40.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.2.0
ComponentsiOS
LabelsengSchedule
ReporterHans Knöchel
AssigneeJan Vennemann
Created2019-08-30T10:54:25.000+0000
Updated2019-10-15T09:47:13.000+0000

Description

Users submitting apps this week are seeing the following notification: {quote} ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information. {quote} This even occurs for SDK 8+ apps that use the WKWebView instead of the (deprecated) UIWebView. The reason is (I think) that there are still some UIWebView* left overs that aren't even used anymore. Removing them will very likely fix the issue.

Comments

  1. Hans Knöchel 2019-08-30

    master: https://github.com/appcelerator/titanium_mobile/pull/11190 8_3_X: https://github.com/appcelerator/titanium_mobile/pull/11191
  2. Samir Mohammed 2019-09-04

    FR Passed, Waiting on Jenkins build.
  3. Keerthi Mahalingam 2019-09-04

    Verified the Fix on sdk 8.2.0.v20190904080637 and 8.3.0.v20190904053513.no warning on App Store submission. *Test Environment:*
        Name                        = Mac OS X
         Version                     = 10.14.5
         Architecture                = 64bit
       Node.js
         Node.js Version             = 10.16.2
         npm Version                 = 6.9.0
       Titanium CLI
         CLI Version                 = 5.2.1
       Titanium SDK
         SDK Version                 = 8.2.0.v20190904080637 ,8.3.0.v20190904053513
       Device -iPhone X iOS 11
  4. Ygor Lemos 2019-10-08

    Hi, we are still facing this issue both on 8.2.0.GA and 8.3.0 (master) for a new app that we are trying to publish. On another app that we already have published it doesn't give the alert and the updates happen normally. Both apps are compiling towards iOS SDK 12.4 and both are using Ti Classic.
  5. Hans Knöchel 2019-10-08

    Other SDK's like the Facebook SDK or Google Sign In SDK also had UIWebViews in your compiled library, so you need to check for the latest versions there as well.
  6. Caio Perdona 2019-10-09

    Still getting the warning, tested with every possible SDK. Modules are all in latest version, still I tried to build with other versions and had no luck. This is critical for us since it's blocking an app release. Could anyone help? Log below: {{10/9/2019, 12:30:49 PM Operating System Name = Mac OS X Version = 10.14.6 Architecture = 64bit # CPUs = 12 Memory = 17179869184 Node.js Node.js Version = 10.16.3 npm Version = 6.9.0 Titanium CLI CLI Version = 5.2.1 Titanium SDK SDK Version = 8.3.0.v20191008081818 SDK Path = /Users/perdona/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.v20191008081818 Target Platform = iphone Command /usr/local/Cellar/node@10/10.16.3/bin/node /Users/perdona/.appcelerator/install/7.1.1/package/node_modules/titanium/lib/titanium.js build -p ios -T dist-appstore --config-file /var/folders/w0/fnh87tt14sqcqvcn60jdwq000000gn/T/build-1570635029328.json --log-level info --no-banner --project-dir /Users/perdona/Dev/projects/titanium/engajai [INFO] Found Titanium module id=ti.map version=3.3.0 platform=ios deploy-type=production path=/Users/perdona/Library/Application Support/Titanium/modules/iphone/ti.map/3.3.0 [INFO] Found Titanium module id=ti.imagefactory version=1.3.0 platform=ios deploy-type=production path=/Users/perdona/Dev/projects/titanium/engajai/modules/iphone/ti.imagefactory/1.3.0 [INFO] Found Titanium module id=ti.draggable version=1.3.2 platform=ios deploy-type=production path=/Users/perdona/Dev/projects/titanium/engajai/modules/iphone/ti.draggable/1.3.2 [INFO] Found Titanium module id=com.pushwoosh.module version=5.19.0 platform=ios deploy-type=production path=/Users/perdona/Dev/projects/titanium/engajai/modules/iphone/com.pushwoosh.module/5.19.0 [INFO] Found Titanium module id=ti.barcode version=2.0.4 platform=ios deploy-type=production path=/Users/perdona/Dev/projects/titanium/engajai/modules/iphone/ti.barcode/2.0.4 [INFO] Found Titanium module id=hyperloop version=4.0.4 platform=ios deploy-type=production path=/Users/perdona/Library/Application Support/Titanium/modules/iphone/hyperloop/4.0.4 [INFO] Found Titanium module id=ti.wkwebview version=2.8.4 platform=ios deploy-type=production path=/Users/perdona/Dev/projects/titanium/engajai/modules/iphone/ti.wkwebview/2.8.4 [INFO] Found Titanium module id=ti.webdialog version=1.1.0 platform=ios deploy-type=production path=/Users/perdona/Library/Application Support/Titanium/modules/iphone/ti.webdialog/1.1.0 [INFO] Found Titanium module id=ti.cloud version=3.2.11 platform=commonjs deploy-type=production path=/Users/perdona/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.11 [INFO] Deploy type: production [INFO] Building for target: dist-appstore [INFO] Building using iOS SDK: 13.0 [INFO] Building for device family: universal [INFO] Minimum iOS version: 10.0 [INFO] Using default keychain [INFO] Logging disabled [INFO] Debugging disabled [INFO] Profiler disabled [INFO] Set to copy files instead of symlinking [INFO] Transpile javascript: true [INFO] Generate source maps: false [INFO] Forcing clean build: /Users/perdona/Dev/projects/titanium/engajai/build/iphone/build-manifest.json does not exist [INFO] Initializing the build directory [INFO] JavaScript files need to be encrypted [INFO] Creating Xcode project [INFO] Creating Entitlements.plist [INFO] Creating Info.plist}}
  7. Jan Vennemann 2019-10-09

    [~perdona], this is most likely coming from to the com.pushwoosh.module. That module still has UIWebView references, see [here](https://github.com/Pushwoosh/pushwoosh-appcelerator-titanium/blob/0092f899f8f8948c7764f4056488fbedc83b0d5c/Module-Source/ios/Library/PWInAppManager.h#L46). Ask the module developer to update the module.
  8. Ygor Lemos 2019-10-09

    We have opened an issue with the module developer asking for a fix ASAP since this blocks releases of new applications on the App Store. Thanks!
  9. Ygor Lemos 2019-10-09

    For anybody facing the same issue when using the PushWoosh module, follows the link for the bug on their Github repo https://github.com/Pushwoosh/pushwoosh-appcelerator-titanium/issues/73
  10. Andrea Vitale 2019-10-15

    Still have this issue with latest SDK built from 8_2_X branch. Here is modules that are included:
        <module>facebook</module>
            <module>firebase.core</module>
            <module>firebase.cloudmessaging</module>
            <module>ti.animation</module>
            <module>ti.barcode</module>
            <module>ti.googlesignin</module>
            <module>ti.map</module>
            <module>ti.platformutils</module>
            <module>av.imageview</module>
            <module>yy.logcatcher</module>
            <module platform="iphone" version="1.2.2">ti.crashlytics</module>
            <module platform="android" version="11.0.40">ti.playservices</module>
            <module platform="android" version="1.2.0">ti.crashlytics</module>
            <module platform="commonjs">nl.fokkezb.html2as</module>
        
  11. Hans Knöchel 2019-10-15

    It's ti.googlesignin. I haven't had the time to update it so far, since the native SDK currently provided by Google is bug-ridden. In any case, this is not related to Titanium and should be discussed outside this ticket.

JSON Source