aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Database/Persistence
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-01-03 12:12:22 -0800
committerGravatar GitHub <noreply@github.com>2018-01-03 12:12:22 -0800
commitf08b5044d64197a3227017ad44235a2bd7421691 (patch)
tree0ea97726a39d1746acf260f42ef35c18f363f4e2 /Firebase/Database/Persistence
parent9179dd86bfa507ede505c788a513e3824ad01856 (diff)
Add Community Supported tvOS (#590)
Add Community Supported tvOS for Core, Auth, Database and Storage. Add tvOS unit tests Add tvOS sample app Update README.md Add tvOS to travis testing
Diffstat (limited to 'Firebase/Database/Persistence')
-rw-r--r--Firebase/Database/Persistence/FLevelDBStorageEngine.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firebase/Database/Persistence/FLevelDBStorageEngine.m b/Firebase/Database/Persistence/FLevelDBStorageEngine.m
index 490fb6c..7de9ebf 100644
--- a/Firebase/Database/Persistence/FLevelDBStorageEngine.m
+++ b/Firebase/Database/Persistence/FLevelDBStorageEngine.m
@@ -211,7 +211,7 @@ static NSString* trackedQueryKeysKey(NSUInteger trackedQueryId, NSString *key) {
}
+ (NSString *) firebaseDir {
- #if TARGET_OS_IOS
+ #if TARGET_OS_IOS || TARGET_OS_TV
NSArray *dirPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDir = [dirPaths objectAtIndex:0];
return [documentsDir stringByAppendingPathComponent:@"firebase"];