Skip to content

Commit eededca

Browse files
committed
wip
1 parent c13d74a commit eededca

File tree

6 files changed

+1997
-612
lines changed

6 files changed

+1997
-612
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,5 @@ buck-out/
4040
android/app/libs
4141
android/keystores/debug.keystore
4242
Releases/
43-
ios/Pods
44-
config/development.ios.js
45-
config/development.js
4643
coverage/
47-
GoogleService-Info.plist
44+
ios/Pods/

app/views/Database/Demos/Chat.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,23 @@ export class Chat extends React.Component {
3636

3737
ref
3838
.orderByChild('createdAt')
39+
.endAt('temp-id-484903')
3940
.limitToLast(10)
4041
.on('child_added', (snapshot) => {
4142
const msg = {
4243
...snapshot.val()
43-
}
44+
};
45+
4446
const {messages} = this.state;
4547
const msgIds = messages.map(m => m._id);
48+
console.log(msgIds);
4649

4750
if (msgIds.indexOf(msg._id) < 0) {
4851
this.setState({
4952
messages: GiftedChat.append(this.state.messages, msg)
5053
});
5154
}
52-
})
55+
});
5356
}
5457

5558
componentWillUnmount() {

app/views/Storage/Demos/Upload.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
import {
1111
Container, Header, Title, Content, Button, Spinner
1212
} from 'native-base';
13-
import RNFS from 'react-native-fs';
1413

1514
import appStyles from '../../../styles/app';
1615
import { UploadedImage } from '../components/UploadedImage';

ios/FirestackApp.xcodeproj/project.pbxproj

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
};
66
objectVersion = 46;
77
objects = {
8+
89
/* Begin PBXBuildFile section */
910
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
1011
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
@@ -24,6 +25,7 @@
2425
140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
2526
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
2627
4F2EB34B0265421E9DC9F64D /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 03F453DB070844839A1D0615 /* FontAwesome.ttf */; };
28+
59577E629AC04BC782808B39 /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A6B1B7E628934FC0B6BBFE08 /* libRNFS.a */; };
2729
5A23F9EA4D9B4B3E9DC07A5D /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B14D251F8788439EBDFC19D6 /* Entypo.ttf */; };
2830
732154BF250AC131CEEECE4B /* libPods-FirestackApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B96D879A35F8CCE9DDE1AF3 /* libPods-FirestackApp.a */; };
2931
77979D8511B14C88B2EF35BB /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F0F6BD6002274B96B0321DBF /* EvilIcons.ttf */; };
@@ -39,7 +41,6 @@
3941
D99D24541DA7AB91004C9CF4 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D99D24531DA7AB91004C9CF4 /* Security.framework */; };
4042
D99D24561DA7AB98004C9CF4 /* libresolv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = D99D24551DA7AB98004C9CF4 /* libresolv.tbd */; };
4143
F4431358485C40019FF20AE7 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 947FF5EAE6D9457D8D9A4EA2 /* Foundation.ttf */; };
42-
59577E629AC04BC782808B39 /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A6B1B7E628934FC0B6BBFE08 /* libRNFS.a */; };
4344
/* End PBXBuildFile section */
4445

4546
/* Begin PBXContainerItemProxy section */
@@ -141,6 +142,13 @@
141142
remoteGlobalIDString = 5DBEB1501B18CEA900B34395;
142143
remoteInfo = RNVectorIcons;
143144
};
145+
D9BD27B41DC7352B00160471 /* PBXContainerItemProxy */ = {
146+
isa = PBXContainerItemProxy;
147+
containerPortal = 08A096EC48E74C2C9EA3A14D /* RNFS.xcodeproj */;
148+
proxyType = 2;
149+
remoteGlobalIDString = F12AFB9B1ADAF8F800E0535D;
150+
remoteInfo = RNFS;
151+
};
144152
/* End PBXContainerItemProxy section */
145153

146154
/* Begin PBXCopyFilesBuildPhase section */
@@ -168,6 +176,7 @@
168176
00E356F21AD99517003FC87E /* FirestackAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FirestackAppTests.m; sourceTree = "<group>"; };
169177
03F453DB070844839A1D0615 /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = "<group>"; };
170178
05447A12A2704B4DBC663EC9 /* StoreKit.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
179+
08A096EC48E74C2C9EA3A14D /* RNFS.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFS.xcodeproj; path = "../node_modules/react-native-fs/RNFS.xcodeproj"; sourceTree = "<group>"; };
171180
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
172181
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
173182
13B07F961A680F5B00A75B9A /* FirestackApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FirestackApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -190,6 +199,7 @@
190199
83DD9D687A23CFF859FC5C80 /* Pods-FirestackApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirestackApp.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FirestackApp/Pods-FirestackApp.debug.xcconfig"; sourceTree = "<group>"; };
191200
92260FFCC5A41B4324C2DE1D /* Pods-FirestackApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirestackApp.release.xcconfig"; path = "Pods/Target Support Files/Pods-FirestackApp/Pods-FirestackApp.release.xcconfig"; sourceTree = "<group>"; };
192201
947FF5EAE6D9457D8D9A4EA2 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = "<group>"; };
202+
A6B1B7E628934FC0B6BBFE08 /* libRNFS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFS.a; sourceTree = "<group>"; };
193203
B14D251F8788439EBDFC19D6 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = "<group>"; };
194204
CB14CE3DFE5744D4A678C73E /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = "<group>"; };
195205
D158E31DA3274CAF885DA5E5 /* libFirestack.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = archive.ar; path = libFirestack.a; sourceTree = "<group>"; };
@@ -201,8 +211,6 @@
201211
DB12A55C1C7B48E6B67B7F38 /* Firestack.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = Firestack.xcodeproj; path = "../node_modules/react-native-firestack/ios/Firestack.xcodeproj"; sourceTree = "<group>"; };
202212
F0F6BD6002274B96B0321DBF /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = "<group>"; };
203213
FD86BD6E5B684A7DB8D05C0E /* libOAuthManager.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = archive.ar; path = libOAuthManager.a; sourceTree = "<group>"; };
204-
08A096EC48E74C2C9EA3A14D /* RNFS.xcodeproj */ = {isa = PBXFileReference; name = "RNFS.xcodeproj"; path = "../node_modules/react-native-fs/RNFS.xcodeproj"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; };
205-
A6B1B7E628934FC0B6BBFE08 /* libRNFS.a */ = {isa = PBXFileReference; name = "libRNFS.a"; path = "libRNFS.a"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; };
206214
/* End PBXFileReference section */
207215

208216
/* Begin PBXFrameworksBuildPhase section */
@@ -461,6 +469,14 @@
461469
name = Products;
462470
sourceTree = "<group>";
463471
};
472+
D9BD27A51DC7352B00160471 /* Products */ = {
473+
isa = PBXGroup;
474+
children = (
475+
D9BD27B51DC7352B00160471 /* libRNFS.a */,
476+
);
477+
name = Products;
478+
sourceTree = "<group>";
479+
};
464480
/* End PBXGroup section */
465481

466482
/* Begin PBXNativeTarget section */
@@ -582,6 +598,10 @@
582598
ProductGroup = 146834001AC3E56700842450 /* Products */;
583599
ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
584600
},
601+
{
602+
ProductGroup = D9BD27A51DC7352B00160471 /* Products */;
603+
ProjectRef = 08A096EC48E74C2C9EA3A14D /* RNFS.xcodeproj */;
604+
},
585605
{
586606
ProductGroup = D99ACF4B1D8E202600D391A9 /* Products */;
587607
ProjectRef = 5D4DBCF5A4BA4854BBD023F0 /* RNVectorIcons.xcodeproj */;
@@ -687,6 +707,13 @@
687707
remoteRef = D99ACF581D8E202600D391A9 /* PBXContainerItemProxy */;
688708
sourceTree = BUILT_PRODUCTS_DIR;
689709
};
710+
D9BD27B51DC7352B00160471 /* libRNFS.a */ = {
711+
isa = PBXReferenceProxy;
712+
fileType = archive.ar;
713+
path = libRNFS.a;
714+
remoteRef = D9BD27B41DC7352B00160471 /* PBXContainerItemProxy */;
715+
sourceTree = BUILT_PRODUCTS_DIR;
716+
};
690717
/* End PBXReferenceProxy section */
691718

692719
/* Begin PBXResourcesBuildPhase section */

ios/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ end
1717

1818
target 'FirestackApp' do
1919
firestack_pods
20-
pod 'RNFS', :path => './node_modules/react-native-fs'
2120
pod 'DCTAuth', :git => 'https://github.com/danielctull/DCTAuth.git'
2221
end

0 commit comments

Comments
 (0)