This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import { StyleSheet, View, SafeAreaView } from 'react-native' | |
| import Carousel from 'react-native-snap-carousel'; | |
| import { Container, Header, Content, Card, CardItem, Thumbnail, Text, Button, Icon, Left, Body, Right, Image } from 'native-base'; | |
| class VegRecipes extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var dialogs = require('alloy/dialogs'); | |
| function editPermissions(e) { | |
| if (OS_IOS) { | |
| Ti.Platform.openURL(Ti.App.iOS.applicationOpenSettingsURL); | |
| } | |
| if (OS_ANDROID) { | |
| var intent = Ti.Android.createIntent({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var dialogs = require('alloy/dialogs'); | |
| function editPermissions(e) { | |
| if (OS_IOS) { | |
| Ti.Platform.openURL(Ti.App.iOS.applicationOpenSettingsURL); | |
| } | |
| if (OS_ANDROID) { | |
| var intent = Ti.Android.createIntent({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var win = Ti.UI.createWindow({ | |
| backgroundColor:'white', | |
| layout: "vertical" | |
| }); | |
| var btnContainer = Ti.UI.createScrollView(); | |
| var activityPopoverBtn = Ti.UI.createButton({ |
OlderNewer