Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit a2ae6fa

Browse files
committed
Fix up example app.
1 parent 1df3b4e commit a2ae6fa

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules/
22
.jsconfig.json
3+
.DS_Store
4+
package-lock.json

examples/Demo_RN_v63_2/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22

33
import { StyleSheet, TouchableOpacity, Text, View } from 'react-native';
4-
import Tags from '../../Tags';
4+
import Tags from 'react-native-tags';
55

66
class App extends Component {
77
constructor(props) {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

examples/Demo_RN_v63_2/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
"scripts": {
66
"android": "react-native run-android",
77
"ios": "react-native run-ios",
8-
"start": "react-native start",
8+
"start": "yarn postinstall && react-native start",
99
"test": "jest",
10-
"lint": "eslint ."
10+
"lint": "eslint .",
11+
"postinstall": "cp -R ../../index.js ../../package.json ../../Tags node_modules/react-native-tags"
1112
},
1213
"dependencies": {
1314
"react": "16.13.1",
14-
"react-native": "0.63.2"
15+
"react-native": "0.63.2",
16+
"react-native-tags": "^2.1.0"
1517
},
1618
"devDependencies": {
1719
"@babel/core": "^7.11.6",

0 commit comments

Comments
 (0)