Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 PR #352

Open
wants to merge 325 commits into
base: master
Choose a base branch
from
Open

V3 PR #352

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
325 commits
Select commit Hold shift + click to select a range
9213d40
Update analytics.md
Ehesp Nov 17, 2016
5968ee1
fixes #141
Salakar Nov 17, 2016
6b48a68
Merge remote-tracking branch 'origin/master'
Salakar Nov 17, 2016
15c55a9
remove test code
Salakar Nov 17, 2016
08e0ead
cleanup and add flow annotations to firestack class
Salakar Nov 17, 2016
15a183c
update flow config to declare react-native imports
Salakar Nov 17, 2016
c65d53e
removed unused local context variable
Salakar Nov 17, 2016
06db70c
cleanup formatting
Salakar Nov 17, 2016
f0a6f0b
remove unused imports
Salakar Nov 17, 2016
72d1085
cleanup imports
Salakar Nov 17, 2016
61e83cc
remove unused FireBase app local reference
Salakar Nov 17, 2016
cb4a19a
misc
Salakar Nov 17, 2016
2657136
#147 - Fix possible Null Pointer Exception when logging an event on A…
Salakar Nov 18, 2016
bd08bd7
Trigger auth event when listening for AuthStateChanged
chrisbianca Nov 18, 2016
8ffa0ee
Bring iOS Analytics inline with Android version
chrisbianca Nov 18, 2016
e475c6d
Only send the current auth event to the new listener
chrisbianca Nov 18, 2016
af5b8f5
fix .currentUser logic - the initial event doesn't have authenticated…
Salakar Nov 18, 2016
6259c4d
onAuthChanged now only returns the user - or null if no authenticated…
Salakar Nov 18, 2016
5216fef
Merge pull request #2 from chrisbianca/master
Salakar Nov 18, 2016
db0511d
initial onAuthChanged event now returns null or user when beginning l…
Salakar Nov 18, 2016
9697a87
flow type defs for auth()
Salakar Nov 18, 2016
19018c1
Bring iOS database interface inline with Android
chrisbianca Nov 18, 2016
87760cc
added auth listener before calling listen
Salakar Nov 18, 2016
1b730b1
implemented new promisify util
Salakar Nov 18, 2016
912fd0e
fixed a derp in promisify
Salakar Nov 18, 2016
145690f
fixed a derp in promisify - apply args should be an array
Salakar Nov 18, 2016
7e03cff
Android: getCurrentUser shouldn't return an error - just null if no u…
Salakar Nov 18, 2016
58507f0
Update analytics.md
Ehesp Nov 18, 2016
7e35007
Update authentication.md
Ehesp Nov 18, 2016
4cb24bd
offAuthStateChanged is now internal only - onAuthStateChanged now ret…
Salakar Nov 18, 2016
dd6ce1d
Merge remote-tracking branch 'origin/master'
Salakar Nov 18, 2016
cd40d73
Bring iOS auth interface inline with Android interface; Introduce cal…
chrisbianca Nov 18, 2016
77d36d3
Update authentication.md
Ehesp Nov 18, 2016
96e3014
Update authentication.md
Ehesp Nov 18, 2016
1664b53
Update authentication.md
Ehesp Nov 18, 2016
443957f
Update authentication.md
Ehesp Nov 18, 2016
5cfd01f
Update authentication.md
Ehesp Nov 18, 2016
d237eb9
added missing reauthenticate method for currentUser and renamed `send…
Salakar Nov 18, 2016
af51355
Merge remote-tracking branch 'origin/master'
Salakar Nov 18, 2016
9b6a606
fixed userCallback and removed anonymousUserCallback - js now decides…
Salakar Nov 18, 2016
44a9f41
Merge iOS database changes from fullstackreact/react-native-firestack…
chrisbianca Nov 18, 2016
f715d41
Updated with @Salakar v3
auser Nov 18, 2016
92de517
Update README.md
Salakar Nov 18, 2016
d97c21e
Fix Disconnect not being referenced in reference.js
BlooJeans Nov 18, 2016
4494eea
Fix missing promisify in disconnect.js, add flow
BlooJeans Nov 18, 2016
0f4831a
Merge pull request #3 from devshackio/v3
Salakar Nov 19, 2016
2d7901a
Update README.md
Ehesp Nov 19, 2016
42bdbfb
Create remote-config.md
Ehesp Nov 19, 2016
15bd343
Update authentication.md
Ehesp Nov 19, 2016
c97f4a7
Update authentication.md
Ehesp Nov 19, 2016
7329028
Update authentication.md
Ehesp Nov 19, 2016
99f1463
Update README.md
Ehesp Nov 19, 2016
91ace7a
Simplify Java auth and remove possibility of user synchronisation issues
chrisbianca Nov 20, 2016
ea97079
Merge branch 'master' of https://github.com/Salakar/react-native-fire…
auser Nov 20, 2016
6a440c3
Merge pull request #4 from chrisbianca/master
Salakar Nov 20, 2016
911924f
Allow Java database module to deal with Array data types in the same …
chrisbianca Nov 21, 2016
1bee626
Merge pull request #5 from chrisbianca/master
Salakar Nov 21, 2016
b3ea010
Allow Java file upload to work with Camera Roll asset URLs in the sam…
chrisbianca Nov 21, 2016
363c1b6
Quick fix to prevent duplicate child event listeners on Java database…
chrisbianca Nov 21, 2016
1882af7
Update authentication.md
Ehesp Nov 21, 2016
458cf04
cleanup module names
Salakar Nov 21, 2016
e9489c1
misc utils/constants
Salakar Nov 21, 2016
a04cb39
rename files
Salakar Nov 21, 2016
6915be5
added credential type annotations
Salakar Nov 21, 2016
e4774b2
remove completed todo
Salakar Nov 21, 2016
d3d4432
Fix syntax error in authListener
florianbepunkt Nov 21, 2016
6f23708
Merge pull request #6 from florianbepunkt/patch-1
Salakar Nov 21, 2016
038bfb2
Fix iOS auth exception
chrisbianca Nov 21, 2016
b569ff7
restructure java files to match similar format as FireBase
Salakar Nov 21, 2016
dc5e529
Fix nested user object in iOS with userCallback response
chrisbianca Nov 22, 2016
7b18309
cleanup utils
Salakar Nov 23, 2016
eadb563
Merge remote-tracking branch 'origin/master'
Salakar Nov 23, 2016
7b38889
cleanup storage / listeners
Salakar Nov 23, 2016
963d6d3
import #157
Salakar Nov 23, 2016
2b90c0b
import #109
Salakar Nov 23, 2016
e30ee8f
Fix IndexOutOfBounds when downloadFile doesnt have a /
BlooJeans Nov 22, 2016
d973929
Fix NPE when context isn't available
BlooJeans Nov 22, 2016
5689f3f
Fix broken window-or-global
BlooJeans Nov 22, 2016
bee8871
Fix duplicate module Firestack
BlooJeans Nov 22, 2016
31aebc6
Add flow to storage.js
BlooJeans Nov 22, 2016
3b8efaf
Better debugging logs for storage.js
BlooJeans Nov 22, 2016
8130c99
Fix flow definition for firestack.store()
BlooJeans Nov 22, 2016
44067f6
Fix flow definitions for base.js
BlooJeans Nov 22, 2016
7ce61bd
Remove error if the directory already exists
BlooJeans Nov 22, 2016
16fd792
Fix indentation for android Storage.downloadFile
BlooJeans Nov 21, 2016
31c9ccf
added android play services availability checks - will throw a js err…
Salakar Nov 23, 2016
6aedf85
Merge pull request #7 from devshackio/v3
Salakar Nov 23, 2016
acb5445
rename FirestackCloudMessaging to FirestackMessaging
Salakar Nov 23, 2016
95e7fad
added in support for ios - until renamed.
Salakar Nov 23, 2016
691f1b7
Fix storage.uploadFile
BlooJeans Nov 23, 2016
84f74e9
added new utils: each, map (these chunk iterations and yield to event…
Salakar Nov 24, 2016
36cfff2
added missing import
Salakar Nov 24, 2016
1905a8a
misc todo's
Salakar Nov 24, 2016
c9b4932
Merge remote-tracking branch 'origin/master'
Salakar Nov 24, 2016
8c5458a
annotate utils
Salakar Nov 24, 2016
ec9f488
Update Java database module to maintain reference for each path/modif…
chrisbianca Nov 29, 2016
5a95fb3
Remove unnecessary storage of once event listeners
chrisbianca Nov 29, 2016
aa5b3fa
Merge pull request #8 from chrisbianca/master
Salakar Nov 29, 2016
be896ba
Fix NPE when trying to clear a database value, i.e. set it to null
chrisbianca Dec 2, 2016
e771325
Fix issue with number and boolean data types being used with startAt/…
chrisbianca Dec 2, 2016
f6aaee5
Fix issue with number and boolean data types being used with startAt/…
chrisbianca Dec 3, 2016
6df6a81
Bring Java responses more in line with iOS
chrisbianca Dec 3, 2016
39c7ec7
Update missing iOS header changes
chrisbianca Dec 3, 2016
09b3fe1
Fix hanging android app issue
Salakar Dec 3, 2016
6caac60
Stop storing Firebase database reference in iOS module
chrisbianca Dec 4, 2016
6f44df2
Fix incorrect push reference returned
chrisbianca Dec 4, 2016
08eab35
Simplify storage modules to use the bucket specified when initialisin…
chrisbianca Dec 4, 2016
810282f
Simplify JS database to store array of modifiers rather than separate…
chrisbianca Dec 6, 2016
6183ab1
Send the type of the value over to the native side to simplify logic
chrisbianca Dec 6, 2016
50b709f
Fix warning when running off() on databsae reference
chrisbianca Dec 7, 2016
3694be7
Merge remote-tracking branch 'Salakar/master'
florianbepunkt Dec 11, 2016
77ef0a4
match presence syntax with V3 database syntax
florianbepunkt Dec 11, 2016
1f1b7f1
implements database().goOnline and database().goOffline methods
florianbepunkt Dec 11, 2016
a80360b
Merge pull request #9 from florianbepunkt/master
Salakar Dec 12, 2016
7630c91
added isObject util
Salakar Dec 12, 2016
384fa16
remove old methods / misc cleanup
Salakar Dec 13, 2016
227798d
cleanup logger
Salakar Dec 13, 2016
f6ce4b8
moved windowOr global inside utils/index
Salakar Dec 13, 2016
38dc529
misc cleanup in base
Salakar Dec 13, 2016
0ae9d2f
update deps
Salakar Dec 13, 2016
ee7a63c
moved windowOr global inside utils/index
Salakar Dec 13, 2016
9435b1b
misc storage
Salakar Dec 13, 2016
ed5c539
Merge branch 'master' of https://github.com/Salakar/react-native-fire…
Salakar Dec 13, 2016
932036d
Merge branch 'master' of https://github.com/Salakar/react-native-fire…
Salakar Dec 13, 2016
c16482a
cleanup presence - added todo's that need fixing
Salakar Dec 13, 2016
540ef65
cleanup presence - added todo's that need fixing
Salakar Dec 13, 2016
ff8fe80
added isFunction util
Salakar Dec 13, 2016
e9f648d
added tryJSONStringify / tryJSONParse utils
Salakar Dec 13, 2016
c32972a
added tryJSONStringify / tryJSONParse utils
Salakar Dec 13, 2016
4960ecd
firestack set/push now correctly support any type of value
Salakar Dec 13, 2016
36bc391
- push is now sync with no value OR async with a value
Salakar Dec 13, 2016
6b57aca
misc
Salakar Dec 13, 2016
da8b175
Update iOS to support push/update changes
chrisbianca Dec 15, 2016
56335c5
Fix JS reference memory leaks
chrisbianca Dec 19, 2016
3631091
Merge pull request #10 from chrisbianca/master
Salakar Dec 19, 2016
f5218e8
cleanup / lint issues
Salakar Dec 19, 2016
e51fd5e
Update index.js
Salakar Dec 20, 2016
fa96855
Update reference.js
Salakar Dec 20, 2016
a1451c4
Throw error if callback isn't a function rather than check each time …
chrisbianca Dec 20, 2016
35c3e27
misc snapshot linting
Salakar Dec 20, 2016
2aac6bc
remove namespace from base, conflicts on class extension
Salakar Dec 20, 2016
74b233a
fixed incorrect ref.child() api, was expecting an array, api should e…
Salakar Dec 20, 2016
12b1f4f
added deepGet util from my `deeps` lib.
Salakar Dec 20, 2016
57df078
added missing DataSnapshot methods - child, exists, getPriority, hasC…
Salakar Dec 20, 2016
7b9c2d4
added deepExists util
Salakar Dec 20, 2016
5d81ea0
`snapshot.hasChild(path)` now supports deep checks i.e `snapshot.hasC…
Salakar Dec 20, 2016
569be66
Fixes #185 - snapshot incorrect receiving db instance instead of the ref
Salakar Dec 20, 2016
4ab951b
Update database.md
Ehesp Dec 20, 2016
63a518f
Implements firestack.database().ServerValue.TIMESTAMP synchronously a…
Salakar Dec 20, 2016
b0eb10e
Merge remote-tracking branch 'origin/master'
Salakar Dec 20, 2016
e239c2d
derp
Salakar Dec 20, 2016
9e99e1e
another derp - my bad
Salakar Dec 20, 2016
a65ada2
servertimestamp now returns the .sv: timestamp object
Salakar Dec 20, 2016
9ec08b8
servertimestamp now returns the .sv: timestamp object or default
Salakar Dec 20, 2016
9d8ec7a
add setUserProperties helper analytics method
Salakar Dec 29, 2016
f2d81cf
analytics no longer keeping context locally, uses getReactApplication…
Salakar Dec 29, 2016
e27af73
FirestackModule no longer keeping context locally, uses getReactAppli…
Salakar Dec 29, 2016
d585fca
misc database
Salakar Dec 29, 2016
4a9eea8
added messageId to messaging service broadcast/event and cleaned up
Salakar Dec 29, 2016
50dea36
Fixed b0rked FirestackCloudMessaging.m compilation bug
auser Jan 3, 2017
3612e82
Merged
auser Jan 3, 2017
b1f0332
Add missing exportVal function to DataSnapshot.
FrankSalad Jan 4, 2017
9360a5b
Minor fixes for messaging and database
auser Jan 4, 2017
9d058e6
Don't override function
FrankSalad Jan 4, 2017
4ab98c1
Add support for firestack.ServerValue.TIMESTAMP
FrankSalad Jan 4, 2017
fbc797c
Add setWithPriority support to ref.
FrankSalad Jan 4, 2017
3281c90
[Android] Fix array conversion for snapshots
Salakar Jan 5, 2017
f683ef2
Don't override exists function
FrankSalad Jan 6, 2017
15e49a3
Add transaction support to Database Reference.
FrankSalad Jan 6, 2017
dba8c11
Resolve promise and send callback appropriate result.
FrankSalad Jan 6, 2017
69fb950
Cleaner handling chain.
FrankSalad Jan 6, 2017
db3f015
Concurrent transaction queue, serialize access to _transactions Mutab…
FrankSalad Jan 6, 2017
2730fad
Merge pull request #209 from FrankSalad/v3-ServerValue-Timestamp
auser Jan 7, 2017
1dc4911
Add to readme
FrankSalad Jan 8, 2017
f7ea2f4
Add to readme
FrankSalad Jan 8, 2017
a61724b
Add to readme
FrankSalad Jan 8, 2017
9a43e11
Readme
FrankSalad Jan 8, 2017
a6566f3
Fix doc.
FrankSalad Jan 8, 2017
12a3f1c
Wrap update function in try block.
FrankSalad Jan 8, 2017
5d31027
Fix error 'TypeError: Cannot read property 'snapshot' of undefined'
FrankSalad Jan 8, 2017
fec4b6e
Tidy up path usage throughout firestack in preparation for looking at…
chrisbianca Jan 8, 2017
8fe95f2
Add timeout
FrankSalad Jan 8, 2017
a926c10
Add feature table
iljadaderko Jan 9, 2017
c8fc4c4
Removed old database JS
auser Jan 9, 2017
9ab1eb8
package.json
auser Jan 9, 2017
67a66bd
3.0.0-0
auser Jan 9, 2017
a45601b
rc1 tag
auser Jan 9, 2017
7ff7870
Bring Storage API inline with web API. Add most of the method implem…
chrisbianca Jan 10, 2017
486f7ce
Standardise upload and download task responses
chrisbianca Jan 10, 2017
bd6d09e
Change getDownloadURL to return url rather than object
chrisbianca Jan 10, 2017
1df9d5c
Start tidying up storage listeners so that it's possible to upload mu…
chrisbianca Jan 10, 2017
087c9ca
Consistency with values emitted by firebase.auth.AuthProvider subclasses
FrankSalad Jan 10, 2017
6a96514
Fix issue with database ref from push() being an array
chrisbianca Jan 10, 2017
8c424f5
Support removing multiple storage listeners
chrisbianca Jan 10, 2017
5281627
Add support for uploadTask/downloadTask .on()
chrisbianca Jan 10, 2017
3845a12
Only remove Android db listeners when all listened to events have bee…
chrisbianca Jan 10, 2017
0783f9b
Return token instead of user
moooji Jan 11, 2017
ec4c10a
Fixed bug in deepGet that returned wrong result
moooji Jan 11, 2017
5884e3c
forEach return now child snapshot like Web SDK
moooji Jan 11, 2017
33d916a
Merge pull request #4 from moooji/fix/deepGet
moooji Jan 11, 2017
bece775
Updated iOS headers for RN 0.40
moooji Jan 12, 2017
b89d3fc
Removed deprecated RCTReloadNotification
moooji Jan 12, 2017
70ed312
Merge pull request #240 from moooji/fix/rn-0.40
Salakar Jan 12, 2017
d69ac57
Merge pull request #235 from moooji/fix/deepGet
Salakar Jan 12, 2017
2add02b
Merge pull request #233 from moooji/fix/getToken
Salakar Jan 12, 2017
5db5e3a
Merge pull request #237 from moooji/fix/snapshot-for-each
Salakar Jan 12, 2017
3676612
Merge pull request #241 from Salakar/master
Salakar Jan 12, 2017
7ab0f6a
Merge pull request #223 from IljaDaderko/feature/feature-overview
Salakar Jan 12, 2017
5c3f75a
Snapshot child refs shouldn't lose information.
FrankSalad Jan 12, 2017
6e6fd33
Updated to rc2
auser Jan 12, 2017
5f8aac2
Added github auth into v3
auser Jan 12, 2017
e7f268c
Merge pull request #210 from FrankSalad/v3-setWithPriority
Salakar Jan 13, 2017
46d99ae
Support for ref.once('child_added')
FrankSalad Jan 12, 2017
aa0ab49
Fix breakage when path to declare ref.on() event handler differs from…
FrankSalad Jan 15, 2017
f1ae6f2
Fix issues caused by path type change.
FrankSalad Jan 15, 2017
6ac8fda
Merge branch 'v3' into v3-transaction
FrankSalad Jan 17, 2017
7d6536e
standardise auth messages to match web sdk error messages
Salakar Jan 17, 2017
661f378
standardise auth messages to match web sdk error messages
Salakar Jan 17, 2017
145949b
- JS: added EmailAuthProvider interface
Salakar Jan 17, 2017
5199f6f
Merge pull request #242 from FrankSalad/v3-once-child-added
auser Jan 17, 2017
6c1a626
Fix example provider name
smkhalsa Jan 18, 2017
d20ecda
misc
Salakar Jan 18, 2017
bd574be
Add storage documentation
chrisbianca Jan 18, 2017
f5ed4a1
Fix incorrect db path
chrisbianca Jan 18, 2017
72d3d38
added currentUser.reload() method - android only, needs ios
Salakar Jan 18, 2017
87b724a
Merge remote-tracking branch 'origin/master'
Salakar Jan 18, 2017
2c3eb5b
messaging.send() now only accepts an object of type RemoteMessage as …
Salakar Jan 18, 2017
8cda6c9
auth().currentUser.reload() now correctly calls reloadUser - woops
Salakar Jan 18, 2017
d797b55
Merge pull request #250 from smkhalsa/patch-1
auser Jan 18, 2017
6a5c878
Update authentication.md
Ehesp Jan 19, 2017
999bf02
Merge pull request #252 from Salakar/master
Salakar Jan 23, 2017
06ac7cf
Add error callback for database .on handler (matches Web spec)
chrisbianca Jan 24, 2017
63fcf4b
Merge pull request #260 from Salakar/master
Salakar Jan 24, 2017
5a735ab
Merge branch 'v3' into v3-transaction
auser Jan 26, 2017
b395e26
Merge pull request #215 from FrankSalad/v3-transaction
auser Jan 26, 2017
0ad1159
Merge branch 'v3' into v3-exists-fn
auser Jan 26, 2017
7de26d3
Merge pull request #221 from FrankSalad/v3-exists-fn
auser Jan 26, 2017
8a089c6
Create working podspec for Firestack
chrisbianca Jan 27, 2017
4994768
Fix possible NPE in iOS database module
chrisbianca Jan 27, 2017
8fc12c1
Merge branch 'v3' into master
chrisbianca Jan 29, 2017
9a84661
Merge pull request #268 from Salakar/master
Salakar Jan 30, 2017
1ce0e64
Make firestackModule.js working for v3
Feb 1, 2017
a46db28
Merge branch 'v3' into v3-exportVal
FrankSalad Feb 3, 2017
02a4ec2
Merge branch 'v3' into v3-exportVal
FrankSalad Feb 3, 2017
fdb89f0
Merge branch 'v3' of github.com:fullstackreact/react-native-firestack…
auser Feb 5, 2017
4886136
Updated next version
auser Feb 5, 2017
e08c086
Merge pull request #275 from mauricekleine/patch-1
auser Feb 5, 2017
5cc3a6f
Updated with #226
auser Feb 5, 2017
66de8cf
Merge branch 'v3' of github.com:fullstackreact/react-native-firestack…
auser Feb 5, 2017
8db8b50
Merge branch 'v3' into pr-208
auser Feb 5, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["react-native"]
}
}
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
40 changes: 40 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"extends": "airbnb",
"parser": "babel-eslint",
"ecmaFeatures": {
"jsx": true
},
"plugins": [
"flowtype"
],
"env": {
"es6": true,
"jasmine": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"class-methods-use-this": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"arrow-body-style": 0,
"import/prefer-default-export": 0,
"radix": 0,
"new-cap": 0,
"max-len": 0,
"no-continue": 0,
"no-console": 0,
"global-require": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"react/jsx-filename-extension": 0
},
"globals": {
"__DEV__": true,
"window": true
}
}
105 changes: 105 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
[ignore]


# Some modules have their own node_modules with overlap
.*/node_modules/node-haste/.*


# React Native problems
.*/node_modules/react-native/Libraries/Animated/src/AnimatedInterpolation.js
.*/node_modules/react-native/Libraries/Animated/src/Interpolation.js
.*/node_modules/react-native/Libraries/BugReporting/dumpReactTree.js
.*/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/NavigationHeader.js
.*/node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/NavigationPagerStyleInterpolater.js
.*/node_modules/react-native/Libraries/Experimental/WindowedListView.js
.*/node_modules/react-native/Libraries/Image/Image.io.js
.*/node_modules/react-native/Libraries/NavigationExperimental/NavigationExperimental.js
.*/node_modules/react-native/Libraries/NavigationExperimental/NavigationHeaderStyleInterpolator.js
.*/node_modules/react-native/Libraries/Network/FormData.js
.*/node_modules/react-native/Libraries/ReactIOS/YellowBox.js



# Ignore react and fbjs where there are overlaps, but don't ignore
# anything that react-native relies on
.*/node_modules/fbjs/lib/Map.js
.*/node_modules/fbjs/lib/ErrorUtils.js

# Flow has a built-in definition for the 'react' module which we prefer to use
# over the currently-untyped source
.*/node_modules/react/react.js
.*/node_modules/react/lib/React.js
.*/node_modules/react/lib/ReactDOM.js

.*/__mocks__/.*
.*/__tests__/.*

.*/commoner/test/source/widget/share.js

# Ignore commoner tests
.*/node_modules/commoner/test/.*

# See https://github.com/facebook/flow/issues/442
.*/react-tools/node_modules/commoner/lib/reader.js

# Ignore jest
.*/node_modules/jest-cli/.*

# Ignore Website
.*/website/.*

# Ignore generators
.*/local-cli/generator.*

# Ignore BUCK generated folders
.*\.buckd/

.*/node_modules/is-my-json-valid/test/.*\.json
.*/node_modules/iconv-lite/encodings/tables/.*\.json
.*/node_modules/y18n/test/.*\.json
.*/node_modules/spdx-license-ids/spdx-license-ids.json
.*/node_modules/spdx-exceptions/index.json
.*/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json
.*/node_modules/resolve/lib/core.json
.*/node_modules/jsonparse/samplejson/.*\.json
.*/node_modules/json5/test/.*\.json
.*/node_modules/ua-parser-js/test/.*\.json
.*/node_modules/builtin-modules/builtin-modules.json
.*/node_modules/binary-extensions/binary-extensions.json
.*/node_modules/url-regex/tlds.json
.*/node_modules/joi/.*\.json
.*/node_modules/isemail/.*\.json
.*/node_modules/tr46/.*\.json
.*/node_modules/protobufjs/src/bower.json
.*/node_modules/grpc/node_modules/protobufjs/src/bower.json

[include]
node_modules/fbjs/lib

[libs]
lib/flow.js
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
node_modules/fbjs/flow/lib

[options]
module.system=haste

experimental.strict_type_args=true
unsafe.enable_getters_and_setters=true

esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable

munge_underscores=true

module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-4]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-4]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ android/.gradle/
android/.signing/

# User-specific configurations
android/.idea/gradle.xml
android/.idea/libraries/
android/.idea/workspace.xml
android/.idea/tasks.xml
Expand All @@ -51,8 +52,10 @@ android/*.iml
ehthumbs.db
Thumbs.dbandroid/gradle
android/gradlew
android/build
android/gradlew.bat
android/gradle/
.idea
.idea
coverage
yarn.lock
11 changes: 11 additions & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"ignore_dirs": [
".git",
"node_modules",
"android/build",
"android/.idea",
"android/.gradle",
"android/gradle",
".idea"
]
}
81 changes: 24 additions & 57 deletions Firestack.podspec
Original file line number Diff line number Diff line change
@@ -1,61 +1,28 @@
require 'json'
package = JSON.parse(File.read('package.json'))
version = package["version"]
repo = package['repository']
author = package['author']

all_pods = [
'FirebaseAnalytics', 'FirebaseAuth', 'FirebaseRemoteConfig',
'FirebaseDatabase', 'FirebaseStorage', 'FirebaseInstanceID',
'GoogleInterchangeUtilities', 'GoogleIPhoneUtilities',
'GoogleNetworkingUtilities', 'GoogleParsingUtilities',
'GoogleSymbolUtilities'
]
package = JSON.parse(File.read('package.json'))

Pod::Spec.new do |s|

s.name = "Firestack"
s.version = version
s.summary = "Firestack makes working with Firebase v3 easy"

s.description = <<-DESC
Wanna integrate firebase into your app using React Native?
DESC

s.homepage = "http://fullstackreact.com"

s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Ari Lerner" => author }
s.social_media_url = 'http://twitter.com/fullstackio'

# When using multiple platforms
s.ios.deployment_target = "8.0"
# s.osx.deployment_target = "10.7"
# s.watchos.deployment_target = "2.0"
# s.tvos.deployment_target = "9.0"

s.source = { :git => repo['url'], :tag => "v#{version}" }
s.public_header_files = "ios/Firestack/*.h"

s.source_files = 'ios/Firestack/*.{h,m}'
s.preserve_paths = 'README.md', 'package.json', '*.js'

s.ios.frameworks = [
'CFNetwork', 'Security', 'SystemConfiguration'
]
s.ios.libraries = ['icucore', 'c++', 'sqlite3', 'z']

s.xcconfig = {
'HEADER_SEARCH_PATHS' => [
"$(inherited)",
"${SRCROOT}/../../React/**",
"${SRCROOT}/../../node_modules/react-native/**"
].join(' '),
'FRAMEWORK_SEARCH_PATHS' => [
"$(inherited)",
"${PODS_ROOT}/Firebase/**",
"${PODS_ROOT}/FirebaseStorage/**",
].join(' '),
'OTHER_LDFLAGS' => '$(inherited) -ObjC'
}
end
s.name = "Firestack"
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
Wanna integrate firebase into your app using React Native?
DESC
s.homepage = "http://fullstackreact.com"
s.license = package['license']
s.author = "Ari Lerner"
s.source = { :git => "https://github.com/fullstackreact/react-native-firestack.git", :tag => "v#{s.version}" }
s.social_media_url = 'http://twitter.com/fullstackio'
s.platform = :ios, "8.0"
s.header_dir = 'ios/Firestack'
s.preserve_paths = 'README.md', 'package.json', '*.js'
s.source_files = 'ios/Firestack/*.{h,m}'
s.dependency 'React'
s.dependency 'Firebase/Auth'
s.dependency 'Firebase/Core'
s.dependency 'Firebase/Database'
s.dependency 'Firebase/Messaging'
s.dependency 'Firebase/RemoteConfig'
s.dependency 'Firebase/Storage'
end
Loading