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

feat(firestore, windows): add support to Windows #11516

Merged
merged 251 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
7e8b5f9
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
17ce2af
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
d8a4ab2
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
eb0d9bd
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
fb53ffc
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
5bb2b0c
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
10735d5
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
19f9125
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
187cf8d
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
5aa7dd2
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 20, 2023
5ceed08
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
cecb05c
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
77470c2
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
456c2f9
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
5c9fb61
feat(auth): move to Pigeon for Platform channels END Auth
Lyokone Apr 21, 2023
1855736
feat(auth): move to Pigeon for Platform channels START user
Lyokone Apr 21, 2023
fed08b6
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
27a99a2
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
a67334e
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
50a0493
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
ee79965
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 21, 2023
e606958
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 24, 2023
73cd3f2
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 24, 2023
e9663ce
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 24, 2023
277b3e8
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 24, 2023
861abd1
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 24, 2023
12ad2bd
feat(auth): move to Pigeon for Platform channels
Lyokone Apr 24, 2023
6d63edb
feat: start objc
Lyokone Apr 27, 2023
daf53c0
feat: ios
Lyokone May 2, 2023
332cb5a
feat: ios
Lyokone May 2, 2023
6e94847
feat: ios
Lyokone May 2, 2023
579d062
feat: ios
Lyokone May 2, 2023
55942ae
feat: ios
Lyokone May 3, 2023
1dfc864
feat: ios
Lyokone May 3, 2023
a0c5b7e
feat: ios
Lyokone May 3, 2023
4c875e6
feat: ios
Lyokone May 4, 2023
90aeae4
feat: ios
Lyokone May 4, 2023
3e0548f
feat: ios
Lyokone May 9, 2023
52d4488
feat: ios done
Lyokone May 9, 2023
bbc6df0
feat: ios done
Lyokone May 9, 2023
3c32439
merge master
Lyokone May 9, 2023
5e92bba
remove test code from demo
Lyokone May 9, 2023
c1c62a8
fix codes
Lyokone May 10, 2023
dab3992
fix codes
Lyokone May 10, 2023
15dbbcc
fix codes
Lyokone May 10, 2023
983dfe4
feat: update web
Lyokone May 11, 2023
fc4e6ac
feat: update tests
Lyokone May 11, 2023
d98fe76
Merge branch 'master' into feat/pigeon-auth
Lyokone May 15, 2023
c88de08
fix tests
Lyokone May 16, 2023
aff9125
Merge branch 'master' of https://github.com/firebase/flutterfire into…
Lyokone May 17, 2023
993073d
add licence
Lyokone May 17, 2023
616370e
fix analyze
Lyokone May 17, 2023
66af294
fix analyze
Lyokone May 17, 2023
76a88da
fix pod projects
Lyokone May 17, 2023
05c57ba
fix macos
Lyokone May 17, 2023
5fb6ff5
fix macos
Lyokone May 17, 2023
d43ea95
fix format
Lyokone May 17, 2023
a1fae45
fix ci
Lyokone May 17, 2023
0b72b60
remove useless file
Lyokone May 17, 2023
9aa06d6
fix ios crash
Lyokone May 17, 2023
8e0dded
swift 5.6
Lyokone May 17, 2023
7e239f1
fix tests
Lyokone May 22, 2023
c63cbed
fix tests
Lyokone May 22, 2023
2210890
fix tests
Lyokone May 22, 2023
4b460d9
fix tests
Lyokone May 22, 2023
2f8fd85
fix tests
Lyokone May 22, 2023
ae5dbad
fix ci
Lyokone May 22, 2023
7d2b1c9
fix ci
Lyokone May 22, 2023
719a21d
fix android
Lyokone May 23, 2023
1b5ed85
fix format
Lyokone May 23, 2023
a83fba5
fix format
Lyokone May 23, 2023
5311882
XL runner??
Lyokone May 23, 2023
785bc31
Merge branch 'master' of https://github.com/firebase/flutterfire into…
Lyokone May 23, 2023
02d7b5e
Update packages/firebase_auth/firebase_auth/android/src/main/java/io/…
Lyokone Jun 5, 2023
6b9d984
Update packages/firebase_auth/firebase_auth/ios/Classes/FLTFirebaseAu…
Lyokone Jun 5, 2023
887cc72
remove useless code and apply suggestions from review
Lyokone Jun 6, 2023
6894958
remove useless code and apply suggestions from review
Lyokone Jun 6, 2023
bac09cf
add windows example app
Lyokone Jun 6, 2023
23f0b3c
base project
Lyokone Jun 6, 2023
7387554
add generated pigeon for windows
Lyokone Jun 6, 2023
63b8db3
add generated pigeon for windows
Lyokone Jun 6, 2023
61807e1
change name for interfaces
Lyokone Jun 6, 2023
f06a75f
update pigeon to 10.0.0
Lyokone Jun 6, 2023
9fd8b74
import firebase in windows
Lyokone Jun 7, 2023
da7efc0
reorder
Lyokone Jun 7, 2023
e027586
reorder
Lyokone Jun 7, 2023
99cf040
signInAnonymously
Lyokone Jun 8, 2023
e054cfb
sign in anonymously
Lyokone Jun 9, 2023
f9163a9
sharing app instance
Lyokone Jun 9, 2023
0ff1e38
sharing instance
Lyokone Jun 12, 2023
a6e77af
hardcoded anonymously signin
Lyokone Jun 14, 2023
84ceb31
more functions
Lyokone Jun 14, 2023
c5d82bf
implement functions
Lyokone Jun 19, 2023
75b67bf
last functions
Lyokone Jun 19, 2023
e70e6e7
idtoken listener
Lyokone Jun 19, 2023
bde03f5
eventchannel
Lyokone Jun 19, 2023
0d371c8
event channel
Lyokone Jun 19, 2023
dc67d5e
binaryMessenger
Lyokone Jun 19, 2023
46e3f9f
it works
Lyokone Jun 20, 2023
f6ae84f
formatting
Lyokone Jun 20, 2023
5836c6c
linking
Lyokone Jun 22, 2023
8c93d7b
Merge branch 'feat/auth-windows' of https://github.com/firebase/flutt…
Lyokone Jun 22, 2023
a042b94
feat(firestore): move Firestore to use Pigeon for platform channels
Lyokone Jul 13, 2023
ccb6ddf
feat(firestore, android): loadBundle
Lyokone Jul 17, 2023
8633f6d
feat(firestore, android): namedQueryGet
Lyokone Jul 17, 2023
61a7237
feat(firestore, android): namedQueryGet
Lyokone Jul 17, 2023
398d3db
fix typing of platforms
Lyokone Jul 18, 2023
5fb4419
clear persistence
Lyokone Jul 18, 2023
d87da2e
network enable / disable
Lyokone Jul 18, 2023
18ad95e
terminate
Lyokone Jul 18, 2023
32717d6
wait for pending writes
Lyokone Jul 18, 2023
cdb9737
logging enabled
Lyokone Jul 18, 2023
4045d40
transaction
Lyokone Jul 19, 2023
b87ebcc
transaction
Lyokone Jul 19, 2023
bee647c
transaction
Lyokone Jul 19, 2023
a04483b
document reference set
Lyokone Jul 19, 2023
e9ad2d3
document reference set
Lyokone Jul 20, 2023
aaeade3
write commit batch
Lyokone Jul 20, 2023
fe3e78a
write commit batch
Lyokone Jul 20, 2023
0142200
write commit batch
Lyokone Jul 20, 2023
7a542af
method channels done
Lyokone Jul 21, 2023
bd7bff4
add melos command to change things to public
Lyokone Jul 26, 2023
ac58802
add melos command to change things to public
Lyokone Jul 26, 2023
26a3bcb
use both codecs
Lyokone Jul 31, 2023
c1ddefd
remove useless FieldPath transformation
Lyokone Jul 31, 2023
6c67544
ios
Lyokone Aug 2, 2023
e1ed112
iOS
Lyokone Aug 10, 2023
9b16724
iOS
Lyokone Aug 10, 2023
a630a29
iOS
Lyokone Aug 10, 2023
24030cb
query snapshot
Lyokone Aug 10, 2023
6e01f58
ios
Lyokone Aug 10, 2023
fe684c7
feat: web
Lyokone Aug 11, 2023
b475d92
feat: tests
Lyokone Aug 11, 2023
65514a5
Merge branch 'master' into feat/auth-windows
Lyokone Aug 17, 2023
ad0ec91
update windows
Lyokone Aug 17, 2023
2555466
update windows version
Lyokone Aug 17, 2023
ecdc049
URL
Lyokone Aug 18, 2023
2058807
prepare CI
Lyokone Aug 22, 2023
9ca5a4f
CI
Lyokone Aug 23, 2023
18aa06d
wrong error message
Lyokone Aug 23, 2023
cf175a0
error codes
Lyokone Aug 24, 2023
f1fb438
remove tests windows
Lyokone Aug 24, 2023
19040c3
Merge branch 'master' into feat/auth-windows
Lyokone Aug 24, 2023
deb35dd
formlat
Lyokone Aug 24, 2023
5d7de66
feat(firestore, windows): add support to Windows
Lyokone Aug 24, 2023
0150788
import from auth
Lyokone Aug 24, 2023
14d6773
update pigeon and watcher Flutter 3.13
Lyokone Aug 24, 2023
fc69104
generate pigeon messages with last version
Lyokone Aug 24, 2023
ed7b5af
change delete to deleteType
Lyokone Aug 24, 2023
68d394e
create empty methods
Lyokone Aug 24, 2023
7703f95
fix Cmake file
Lyokone Aug 24, 2023
21ed314
query parsing
Lyokone Aug 25, 2023
0c28b0a
persistence
Lyokone Aug 25, 2023
74d26bd
logging
Lyokone Aug 25, 2023
da30840
setmerge
Lyokone Aug 25, 2023
ee19a60
set
Lyokone Aug 28, 2023
2c086c5
update get delete
Lyokone Aug 28, 2023
18bbcad
batch commit
Lyokone Aug 28, 2023
afc7531
done methodschannels
Lyokone Aug 28, 2023
024b5a3
event channels
Lyokone Aug 29, 2023
369e915
document snapshot
Lyokone Aug 29, 2023
debdc57
transactions
Lyokone Aug 30, 2023
9f0fb34
feat: update pigeon
Lyokone Sep 5, 2023
6aced6c
working on emulator :D
Lyokone Sep 5, 2023
f21747f
change tests
Lyokone Sep 5, 2023
34d48bb
fix generation
Lyokone Sep 5, 2023
afae5bf
format
Lyokone Sep 5, 2023
f87f87f
working
Lyokone Sep 5, 2023
00ba32f
auth
Lyokone Sep 5, 2023
b4de742
update tests
Lyokone Sep 5, 2023
cbea5fe
skipping tests
Lyokone Sep 5, 2023
2d508cc
new version of the SDK
Lyokone Sep 6, 2023
3c8e1c1
remove xl
Lyokone Sep 6, 2023
893fda1
Merge branch 'master' into feat/auth-windows
Lyokone Sep 6, 2023
dc36345
format
Lyokone Sep 6, 2023
53d865b
update pigeon
Lyokone Sep 6, 2023
86be5d6
format
Lyokone Sep 6, 2023
deff2e1
test passed
Lyokone Sep 6, 2023
d09530b
change
Lyokone Sep 6, 2023
738bd65
ci
Lyokone Sep 6, 2023
a99f590
Merge branch 'feat/auth-windows' of https://github.com/firebase/flutt…
Lyokone Sep 6, 2023
ce1cb91
ci
Lyokone Sep 6, 2023
cf71614
ci
Lyokone Sep 6, 2023
65c9319
ci
Lyokone Sep 6, 2023
77cff19
Merge branch 'feat/auth-windows' of https://github.com/firebase/flutt…
Lyokone Sep 6, 2023
a80fba7
ci
Lyokone Sep 6, 2023
a322e7e
ci
Lyokone Sep 6, 2023
cbc6167
ci
Lyokone Sep 6, 2023
7cd4e36
ci
Lyokone Sep 6, 2023
6f1091b
ci
Lyokone Sep 6, 2023
7d39c94
ci
Lyokone Sep 6, 2023
b69443c
ci
Lyokone Sep 7, 2023
5e0c1d3
ci
Lyokone Sep 7, 2023
e16a07b
ci
Lyokone Sep 7, 2023
d453be2
debugging
Lyokone Sep 7, 2023
c36ba06
throwing on unimplements
Lyokone Sep 8, 2023
aa80134
format
Lyokone Sep 8, 2023
f43659b
Merge branch 'feat/auth-windows' into feat/firestore-windows
Lyokone Sep 8, 2023
86ef898
merging
Lyokone Sep 8, 2023
82739a2
fix compilation
Lyokone Sep 11, 2023
733056b
compilation error
Lyokone Sep 11, 2023
2d54cfa
compilation fix
Lyokone Sep 11, 2023
5878f30
custom codec
Lyokone Sep 11, 2023
cf6a472
custom codec
Lyokone Sep 11, 2023
e2adfa9
write codec
Lyokone Sep 12, 2023
8857a87
codec and memory managment issues fixed
Lyokone Sep 13, 2023
9950460
transactions
Lyokone Sep 14, 2023
8a20c8c
Change the windows plugin compiling way
cynthiajoan Sep 14, 2023
2b3c0a1
Merge branch 'feat/core-windows' into feat/firestore-windows
cynthiajoan Sep 15, 2023
2314a77
transactions
Lyokone Sep 15, 2023
bc9aa50
Merge branch 'feat/firestore-windows' of https://github.com/firebase/…
Lyokone Sep 15, 2023
8f77a1d
lock
Lyokone Sep 16, 2023
925fa47
transactions are working
Lyokone Sep 19, 2023
27fd72e
not supported
Lyokone Sep 19, 2023
ab67445
snapshot in sync
Lyokone Sep 19, 2023
29b82de
in sync
Lyokone Sep 19, 2023
2cad1ee
remove tests no longer needed thanks to pigeon
Lyokone Sep 19, 2023
b82e154
format
Lyokone Sep 19, 2023
aa79752
format
Lyokone Sep 19, 2023
ba6052a
android running
Lyokone Sep 19, 2023
4fc64b0
try to run on iOS
Lyokone Oct 2, 2023
76d1b94
Merge branch 'master' into feat/firestore-windows
Lyokone Oct 2, 2023
47043b0
iOS linking
Lyokone Oct 2, 2023
55dd5fe
add database url
Lyokone Oct 2, 2023
c21b99e
working iOS
Lyokone Oct 3, 2023
2377f02
working iOS
Lyokone Oct 3, 2023
c3d2c7b
fix analyze
Lyokone Oct 4, 2023
33e24e9
adding all licence header
Lyokone Oct 4, 2023
1e182f1
fix error handling on android
Lyokone Oct 4, 2023
317b22a
update pigeon
Lyokone Oct 4, 2023
112f32e
query e2e
Lyokone Oct 4, 2023
db1b86c
iOS
Lyokone Oct 5, 2023
5bd9c9b
remove file
Lyokone Oct 5, 2023
fe948ca
fixing tests
Lyokone Oct 6, 2023
d500fd7
iosFIx
Lyokone Oct 6, 2023
64b8b7d
fix ios
Lyokone Oct 6, 2023
699a69f
fix appName
Lyokone Oct 9, 2023
24ecfc2
iOS DONE
Lyokone Oct 9, 2023
6ec860e
everything is working
Lyokone Oct 9, 2023
31dd8da
fixing windows tests
Lyokone Oct 11, 2023
95acfe7
fixing codec
Lyokone Oct 11, 2023
61e4929
fixing codec
Lyokone Oct 11, 2023
97ade26
codec
Lyokone Oct 12, 2023
9d821a0
ready for review
Lyokone Oct 12, 2023
c8776c5
format
Lyokone Oct 12, 2023
564f6b6
fix analyze
Lyokone Oct 12, 2023
a2d57fc
format
Lyokone Oct 12, 2023
9e37e47
analyze
Lyokone Oct 12, 2023
136c222
fix macos
Lyokone Oct 12, 2023
d93100a
add missing file
Lyokone Oct 13, 2023
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
9 changes: 9 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ scripts:
run: |
melos exec -- "flutter pub run pigeon --input ./pigeons/messages.dart" && \
melos run generate:pigeon:macos --no-select && \
melos run generate:pigeon:android --no-select && \
melos run format --no-select
packageFilters:
fileExists: 'pigeons/messages.dart'
Expand All @@ -226,6 +227,14 @@ scripts:
fileExists: 'ios/Classes/messages.g.m'
description: Pigeon does not add the condition to import Flutter or FlutterMacOs. Add the condition

generate:pigeon:android:
run: |
melos exec -- "find ./android -type f -name '*Generated*' | xargs sed -i '.bak' 's/ArrayList<Object> toList() {/public ArrayList<Object> toList() {/g'" && \
melos exec -- "find ./android -type f -name '*.bak' -delete"
packageFilters:
dirExists: 'android'
description: Transform the method toList() into a public one to be used in EventChannel

odm:test:
run: |
melos run odm:test:dart &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,25 @@
class FlutterFirebaseFirestoreMessageCodec extends StandardMessageCodec {
public static final FlutterFirebaseFirestoreMessageCodec INSTANCE =
new FlutterFirebaseFirestoreMessageCodec();
private static final byte DATA_TYPE_DATE_TIME = (byte) 128;
private static final byte DATA_TYPE_GEO_POINT = (byte) 129;
private static final byte DATA_TYPE_DOCUMENT_REFERENCE = (byte) 130;
private static final byte DATA_TYPE_BLOB = (byte) 131;
private static final byte DATA_TYPE_ARRAY_UNION = (byte) 132;
private static final byte DATA_TYPE_ARRAY_REMOVE = (byte) 133;
private static final byte DATA_TYPE_DELETE = (byte) 134;
private static final byte DATA_TYPE_SERVER_TIMESTAMP = (byte) 135;
private static final byte DATA_TYPE_TIMESTAMP = (byte) 136;
private static final byte DATA_TYPE_INCREMENT_DOUBLE = (byte) 137;
private static final byte DATA_TYPE_INCREMENT_INTEGER = (byte) 138;
private static final byte DATA_TYPE_DOCUMENT_ID = (byte) 139;
private static final byte DATA_TYPE_FIELD_PATH = (byte) 140;
private static final byte DATA_TYPE_NAN = (byte) 141;
private static final byte DATA_TYPE_INFINITY = (byte) 142;
private static final byte DATA_TYPE_NEGATIVE_INFINITY = (byte) 143;
private static final byte DATA_TYPE_FIRESTORE_INSTANCE = (byte) 144;
private static final byte DATA_TYPE_FIRESTORE_QUERY = (byte) 145;
private static final byte DATA_TYPE_FIRESTORE_SETTINGS = (byte) 146;
private static final byte DATA_TYPE_DATE_TIME = (byte) 180;
private static final byte DATA_TYPE_GEO_POINT = (byte) 181;
private static final byte DATA_TYPE_DOCUMENT_REFERENCE = (byte) 182;
private static final byte DATA_TYPE_BLOB = (byte) 183;
private static final byte DATA_TYPE_ARRAY_UNION = (byte) 184;
private static final byte DATA_TYPE_ARRAY_REMOVE = (byte) 185;
private static final byte DATA_TYPE_DELETE = (byte) 186;
private static final byte DATA_TYPE_SERVER_TIMESTAMP = (byte) 187;
private static final byte DATA_TYPE_TIMESTAMP = (byte) 188;
private static final byte DATA_TYPE_INCREMENT_DOUBLE = (byte) 189;
private static final byte DATA_TYPE_INCREMENT_INTEGER = (byte) 190;
private static final byte DATA_TYPE_DOCUMENT_ID = (byte) 191;
private static final byte DATA_TYPE_FIELD_PATH = (byte) 192;
private static final byte DATA_TYPE_NAN = (byte) 193;
private static final byte DATA_TYPE_INFINITY = (byte) 194;
private static final byte DATA_TYPE_NEGATIVE_INFINITY = (byte) 195;
private static final byte DATA_TYPE_FIRESTORE_INSTANCE = (byte) 196;
private static final byte DATA_TYPE_FIRESTORE_QUERY = (byte) 197;
private static final byte DATA_TYPE_FIRESTORE_SETTINGS = (byte) 198;

@Override
protected void writeValue(ByteArrayOutputStream stream, Object value) {
Expand Down
Loading