This file contains 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
<key>CFBundleURLTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleURLSchemes</key> | |
<array> | |
<string>fb{your-app-id}</string> | |
</array> | |
</dict> | |
</array> | |
<key>FacebookAppID</key> |
This file contains 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
// AppDelegate.m | |
#import <FBSDKCoreKit/FBSDKCoreKit.h> | |
- (BOOL)application:(UIApplication *)application | |
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
// You can skip this line if you have the latest version of the SDK installed | |
[[FBSDKApplicationDelegate sharedInstance] application:application | |
didFinishLaunchingWithOptions:launchOptions]; | |
// Add any custom logic here. |
This file contains 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
module.exports = { | |
project: { | |
ios: {}, | |
android: {}, // grouped into "project" | |
}, | |
assets: ["./assets/fonts/"], // stays the same | |
}; |
This file contains 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
render() { | |
return ( | |
<View style={{ flex: 1, alignItems: "center", justifyContent: "center" }}> | |
<Image | |
style={{width: 300,height:200,backgroundColor:"red"}} | |
source={{ | |
uri: | |
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR20x8bJ3J8WSIvzlm_uJKYZqSNAft5uXPRkWcd5pWb2I7N2Lpw" | |
}} | |
resizeMode="center" |
This file contains 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
render() { | |
return ( | |
<View style={{ flex: 1, alignItems: "center", justifyContent: "center" }}> | |
<Image | |
style={{width: 300,height:200,backgroundColor:"red"}} | |
source={{ | |
uri: | |
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR20x8bJ3J8WSIvzlm_uJKYZqSNAft5uXPRkWcd5pWb2I7N2Lpw" | |
}} | |
resizeMode="repeat" |
This file contains 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
render() { | |
return ( | |
<View style={{ flex: 1, alignItems: "center", justifyContent: "center" }}> | |
<Image | |
style={{width: 300,height:200,backgroundColor:"red"}} | |
source={{ | |
uri: | |
"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Square_dance_sign.svg/1200px-Square_dance_sign.svg.png" | |
}} | |
resizeMode="stretch" |
This file contains 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
render() { | |
return ( | |
<View style={{ flex: 1, alignItems: "center", justifyContent: "center" }}> | |
<Image | |
style={{width: 300,height:200,backgroundColor:"red"}} | |
source={{ | |
uri: | |
"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Square_dance_sign.svg/1200px-Square_dance_sign.svg.png" | |
}} | |
resizeMode="contain" |
This file contains 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
render() { | |
return ( | |
<View style={{ flex: 1, alignItems: "center", justifyContent: "center" }}> | |
<Image | |
style={{width: 300,height:200,backgroundColor:"red"}} | |
source={{ | |
uri: | |
"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Square_dance_sign.svg/1200px-Square_dance_sign.svg.png" | |
}} | |
resizeMode="cover" |
NewerOlder