diff --git a/example/App.js b/example/App.js
index af13964485eb2..d08e1961faa73 100644
--- a/example/App.js
+++ b/example/App.js
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
-import {AppRegistry, StyleSheet, View, FlatList, KeyboardAvoidingView} from 'react-native';
+import {AppRegistry, StyleSheet, View, FlatList, KeyboardAvoidingView, SafeAreaView, Platform} from 'react-native';
import {example_content} from './content';
import RCTAztecView from 'react-native-aztec'
@@ -11,11 +11,11 @@ export default class example extends React.Component {
this.state = {isShowingText: true, height: _minHeight, text: example_content()};
console.log("a ver que tiene" + JSON.stringify(this.state));
}
-
+
render() {
- let myMinHeight = Math.max(_minHeight, this.state.height);
- return (
-
+ let myMinHeight = Math.max(_minHeight, this.state.height);
+ const mainContent = (
+
}
/>
-
- );
+
+ );
+ if (Platform.OS === "ios") {
+ return ({mainContent})
+ } else {
+ return mainContent
+ }
}
}