Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
b55dfd60
Commit
b55dfd60
authored
Jan 15, 2016
by
Collin Jackson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1264 from collinjackson/rm_firebase
Remove Firebase flutter packge
parents
f411d2d7
32afb4a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
53 deletions
+0
-53
README.md
packages/firebase/README.md
+0
-4
firebase.dart
packages/firebase/lib/firebase.dart
+0
-11
firebase.dart
packages/firebase/lib/src/firebase.dart
+0
-38
No files found.
packages/firebase/README.md
deleted
100644 → 0
View file @
f411d2d7
The existence of this directory is temporary. We will shortly be
moving support for SDKs to separate repositories. This directory
currently exists to help us learn what exactly we need to support
third-party SDKs.
packages/firebase/lib/firebase.dart
deleted
100644 → 0
View file @
f411d2d7
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Service exposed to Flutter apps that implements a subset of the Firebase
/// API.
///
/// This library will probably be moved into a separate package eventually.
library
firebase
;
export
'src/firebase.dart'
;
packages/firebase/lib/src/firebase.dart
deleted
100644 → 0
View file @
f411d2d7
// Copyright 2015, the Flutter authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import
'dart:async'
;
import
'package:flutter/services.dart'
;
import
'package:sky_services/firebase/firebase.mojom.dart'
as
mojo
;
export
'package:sky_services/firebase/firebase.mojom.dart'
show
DataSnapshot
,
EventType
;
class
Firebase
{
mojo
.
FirebaseProxy
_firebase
;
Firebase
(
String
url
)
:
_firebase
=
new
mojo
.
FirebaseProxy
.
unbound
()
{
shell
.
connectToService
(
"firebase::Firebase"
,
_firebase
);
_firebase
.
ptr
.
initWithUrl
(
url
);
}
Firebase
.
_withProxy
(
mojo
.
FirebaseProxy
firebase
)
:
_firebase
=
firebase
;
Firebase
get
root
{
mojo
.
FirebaseProxy
proxy
=
new
mojo
.
FirebaseProxy
.
unbound
();
_firebase
.
ptr
.
getRoot
(
proxy
);
return
new
Firebase
.
_withProxy
(
proxy
);
}
Firebase
childByAppendingPath
(
String
path
)
{
mojo
.
FirebaseProxy
proxy
=
new
mojo
.
FirebaseProxy
.
unbound
();
_firebase
.
ptr
.
getChild
(
path
,
proxy
);
return
new
Firebase
.
_withProxy
(
proxy
);
}
Future
<
mojo
.
DataSnapshot
>
once
(
mojo
.
EventType
eventType
)
async
{
return
(
await
_firebase
.
ptr
.
observeSingleEventOfType
(
eventType
)).
snapshot
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment