Skip to content
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

[ALOY-1535] Remove unnecessary warning message with iOS #810

Merged
merged 3 commits into from
Mar 25, 2019

Conversation

HazemKhaled
Copy link
Contributor

On iOS compiling we get warning Additional views in null only supported on Android with code

<AlertDialog id="confirmAlertDialog">
    <View platform="android">
        <Label>Android only!!</Label>
    </View>
</AlertDialog>

@HazemKhaled
Copy link
Contributor Author

It's very small commit, do we need JIRA ticket?

@feons
Copy link
Contributor

feons commented Dec 15, 2016

@HazemKhaled, yes please!

@hansemannn hansemannn changed the title Remove unnecessary warning message with iOS [ALOY-1535] Remove unnecessary warning message with iOS Jan 14, 2017
@hansemannn
Copy link
Contributor

Here we go: https://jira.appcelerator.org/browse/ALOY-1535

@feons Can you review, merge and adjust the fix-version in the ticket? Thx 🙂

@hansemannn hansemannn requested a review from feons January 14, 2017 12:28
@HazemKhaled
Copy link
Contributor Author

@hansemannn thanks a lot for the ticket

@feons
Copy link
Contributor

feons commented Jan 14, 2017

@HazemKhaled, I think it's still necessary to display a warning when developers try to compile the following for iOS:

 <AlertDialog id="confirmAlertDialog">
    <View>
        <Label>This is only for androidView</Label>
    </View>
</AlertDialog>

@hansemannn
Copy link
Contributor

@HazemKhaled Sorry for the late response, but can you adjust the PR to only warn if the platform="android" is missing?

@ewanharris ewanharris force-pushed the patch-3 branch 2 times, most recently from 005f55e to 1facd9c Compare March 12, 2019 16:44
@ewanharris
Copy link
Contributor

@feons, I updated the PR to output the warning when the child views are not android only. If you have time could you take a quick look and see if that matches your request. Thanks!

HazemKhaled and others added 3 commits March 25, 2019 17:06
On iOS compiling we get warning "Additional views in null only supported on Android" with code
```xml
<AlertDialog id="confirmAlertDialog">
    <View platform="android">
        <Label>Android only!!</Label>
    </View>
</AlertDialog>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants