[ALOY-1535] iOS: Warning message thrown when using <View> in <AlertDialog> (Android-only)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-06-19T22:31:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | CLI Release 7.1.0, Alloy 1.14.0 |
Components | XML |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Ewan Harris |
Created | 2017-01-14T12:27:10.000+0000 |
Updated | 2019-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
- Hans Knöchel 2017-01-14 Community-PR (thanks to [~hazemkhaled]): https://github.com/appcelerator/alloy/pull/810
- 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