Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1535] iOS: Warning message thrown when using <View> in <AlertDialog> (Android-only)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2019-06-19T22:31:02.000+0000
Affected Version/sn/a
Fix Version/sCLI Release 7.1.0, Alloy 1.14.0
ComponentsXML
Labelsn/a
ReporterHans Knöchel
AssigneeEwan Harris
Created2017-01-14T12:27:10.000+0000
Updated2019-06-19T22:31:02.000+0000

Description

When using the <View> tag in <AlertDialog on iOS, a warning is thrown, also the platform is set to Android.

Comments

  1. Hans Knöchel 2017-01-14

    Community-PR (thanks to [~hazemkhaled]): https://github.com/appcelerator/alloy/pull/810
  2. Keerthi Mahalingam 2019-06-19

    Verified the fix on Cli 7.1.0-master.22 with alloy 1.14.0-1. No warning message shown on IOS when using in and getting warning message *"Additional views in (line 7) are only supported on Android [WARN] : To get rid of this warning, add platform="android" to your child elements"* when I dint include platform ="android".Works as expected.closing Test Environment:
       Operating System
         Name                        = Mac OS X
         Version                     = 10.13.6
         Architecture                = 64bit
         # CPUs                      = 8
         Memory                      = 17179869184
       Node.js
         Node.js Version             = 10.13.0
         npm Version                 = 6.4.1
       Titanium CLI
         CLI Version                 = 5.2.1
       Alloy version=1.14.0-1
       Cli =7.1.0-master.22
       Titanium SDK =8.2.0.v20190619100154
       Device =iPhone 6s plus iOS 12, 
       Simulator =iphone XR iOS 12
       

JSON Source