Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
8c8bec0
[google_maps] Set correct polyline width when building polylines. (#1…
KlausJokisuo Aug 7, 2019
e876d3e
[webview_flutter] Add an initialAutoMediaPlaybackPolicy setting (#1951)
amirh Aug 7, 2019
d515868
[Camera] Improved resolution presets (#1952)
Aug 8, 2019
9045614
[connectivity] update the connectivity readme to include info about c…
danwulff Aug 8, 2019
3aa087c
Fix bug in camera example. (#1958)
mehmetf Aug 8, 2019
6deda07
[shared_preferences] Allow getInstance() to be reentrant (#1961)
mehmetf Aug 8, 2019
b48dd36
[image_picker] Depend on AndroidX Core instead of Legacy Support v4 (…
ChristianKatzmann Aug 9, 2019
40ef139
[webview_flutter] Filter onChanged events for invalid displays (#1964)
amirh Aug 9, 2019
560694c
[webview_flutter] Fix double tap on resize issue (#1965)
Aug 10, 2019
95ba642
[multiple] Add licenses (#1908)
bparrishMines Aug 12, 2019
993f895
[android_alarm_manager] Added oneShotAt method to schedule a alarm at…
Afsar-Pasha Aug 12, 2019
2b2ca66
Request code needs to be below 2^16 for FragmentActivity (#1968)
mehmetf Aug 13, 2019
eb72787
google-services-maps v17.0.0 androidx compatible (#1941)
JamesMcIntosh Aug 13, 2019
3820fd5
[webview_flutter] Workaround display listeners bug on all Android ver…
amirh Aug 13, 2019
e2f0f2d
[firebase_auth] use long datatype for timestamps (iOS) (#1973)
ened Aug 13, 2019
759375a
[webview_flutter] Remove noisy log messages on iOS (#1978)
amirh Aug 14, 2019
05c6d01
[webview_flutter] Remove warnings regarding iOS9 SDK methods (#1976)
ened Aug 15, 2019
be0cfa3
[webview_flutter] Calling destroy on webview when flutter part is get…
charafau Aug 15, 2019
59eeaa8
[webview_flutter] Add a getTitle method to WebViewController (#1979)
amirh Aug 15, 2019
e4feab6
Revert "[webview_flutter] Add a getTitle method to WebViewController"…
amirh Aug 16, 2019
2daeaf2
[image_picker] Image picker rotation fix on iOS after scaling.
Aug 16, 2019
c8f0c27
[firebase_admob] Banner Ad Horizontal Positioning (#1925)
malsabbagh Aug 16, 2019
d8eed34
[webview_flutter] Add a comment asking to extend WebViewPlatformContr…
amirh Aug 16, 2019
61c39d1
[webview_flutter] Allow setting a custom HTTP User-Agent (#1920)
LuisThein Aug 16, 2019
4a7ddd2
[android_alarm_manager] Added ability to get id in the callback (#1985)
Afsar-Pasha Aug 19, 2019
1375af3
[google_maps_flutter]Marker drag event (#1702)
duzenko Aug 19, 2019
05c2505
[camera] Pause/resume video recording for Android (#1370)
huulbaek Aug 19, 2019
f31cb36
[google_maps_flutter] Allow (de-)serialization of CameraPosition (#1784)
duzenko Aug 20, 2019
a3f9ce7
[pathprovider] Fix fall through bug (#1993)
mehmetf Aug 20, 2019
f401ca1
[video_player] Fix deprecated member use (#1998)
collinjackson Aug 22, 2019
3ad2d1d
Remove Flutterfire plugins (moved to FirebaseExtended) (#1984)
collinjackson Aug 22, 2019
18352b2
[google_maps_flutter] Adds support for displaying the traffic layer (…
josh-burton Aug 23, 2019
7f37ed5
[video_player] Added `formatHint` to to override video format on Andr…
jtmcdole Aug 23, 2019
ffe12d4
Fix tests after breaking change https://github.com/flutter/flutter/pu…
mehmetf Aug 23, 2019
6b5e01b
[Image_picker] fix `retrieveImage` breakage, added tests. (#2010)
Aug 24, 2019
e168ef5
Fix unit test for sensors (#2009)
collinjackson Aug 24, 2019
5f60b5a
[google_sign_in] Use implementation rather than api dependencies for …
collinjackson Aug 26, 2019
f02aab8
[instrumentation_adapter] enable Firebase Test Lab Android testing (#…
collinjackson Aug 27, 2019
9a1a56f
[instrumentation_adapter] Update README instructions (#2022)
collinjackson Aug 27, 2019
c5ade10
Add instrumentation_adapter to CODEOWNERS (#2024)
collinjackson Aug 28, 2019
d7ad50b
[instrumentation_adapter] update boilerplate to use @Rule instead of …
collinjackson Aug 28, 2019
94290d9
[google_maps_flutter] Avoid unnecessary redraws (#1933)
ppicas Aug 28, 2019
b76fe5d
[android_intent] add flags option (#2000)
thanhdatvo Aug 28, 2019
406ec35
[in_app_purchase] Remove skipped driver test (#2027)
Aug 28, 2019
b47754c
[instrumentation_adapter] Update documentation about using androidx (…
Aug 29, 2019
a941127
[In_App_Purchase] Avoids possible NullPointerException with backgroun…
juliocbcotta Aug 29, 2019
cd40169
fix android crash when pausing or resuming video on APIs lower than 2…
juliocbcotta Aug 29, 2019
90aaca8
[Connectivity] add a method to request location on iOS (for iOS 13) (…
Aug 29, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ RUN yes | sdkmanager \
"platforms;android-27" \
"build-tools;27.0.3" \
"extras;google;m2repository" \
"extras;android;m2repository" \
"system-images;android-21;default;armeabi-v7a"
"extras;android;m2repository"

RUN yes | sdkmanager --licenses
8 changes: 0 additions & 8 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ task:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 2"
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 2"
MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
create_device_script:
echo no | avdmanager -v create avd -n test -k "system-images;android-21;default;armeabi-v7a"
start_emulator_background_script:
- $ANDROID_HOME/emulator/emulator -avd test -no-audio -no-window
wait_for_emulator_script: adb wait-for-device
script:
# Unsetting CIRRUS_CHANGE_MESSAGE and CIRRUS_COMMIT_MESSAGE as they
# might include non-ASCII characters which makes Gradle crash.
Expand All @@ -48,9 +43,6 @@ task:
- export CIRRUS_COMMIT_MESSAGE=""
- ./script/incremental_build.sh build-examples --apk
- ./script/incremental_build.sh java-test # must come after apk build
# TODO(jackson): Re-enable once Android emulators support Firebase
# https://github.com/flutter/flutter/issues/29571
# - ./script/incremental_build.sh drive-examples
- export CIRRUS_CHANGE_MESSAGE=`cat /tmp/cirrus_change_message.txt`
- export CIRRUS_COMMIT_MESSAGE=`cat /tmp/cirrus_commit_message.txt`

Expand Down
4 changes: 3 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ Jose Sanchez <[email protected]>
Debkanchan Samadder <[email protected]>
Audrius Karosevicius <[email protected]>
Lukasz Piliszczuk <[email protected]>
SoundReply Solutions GmbH <[email protected]>
SoundReply Solutions GmbH <[email protected]>
Rafal Wachol <[email protected]>
Pau Picas <[email protected]>
16 changes: 1 addition & 15 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,12 @@ packages/android_alarm_manager/* @bkonyi
packages/android_intent/* @mklim
packages/battery/* @amirh
packages/camera/* @bparrishMines @mklim
packages/cloud_firestore/* @collinjackson @kroikie
packages/cloud_functions/* @collinjackson @kroikie
packages/connectivity/* @cyanglaz
packages/firebase_admob/* @amirh @bparrishMines
packages/firebase_analytics/* @collinjackson @kroikie
packages/firebase_auth/* @collinjackson @kroikie
packages/firebase_core/* @collinjackson @kroikie
packages/firebase_crashlytics/* @kroikie @collinjackson
packages/firebase_database/* @collinjackson @kroikie
packages/firebase_dynamic_links/* @bparrishMines
packages/firebase_in_app_messaging/* @collinjackson
packages/firebase_messaging/* @collinjackson @kroikie
packages/firebase_ml_vision/* @bparrishMines
packages/firebase_performance/* @bparrishMines @collinjackson
packages/firebase_remote_config/* @collinjackson @kroikie
packages/firebase_storage/* @collinjackson @kroikie
packages/google_maps_flutter/* @iskakaushik
packages/google_sign_in/* @cyanglaz @mehmetf
packages/image_picker/* @cyanglaz
packages/in_app_purchase/* @mklim @cyanglaz
packages/instrumentation_adapter/* @collinjackson @digiter
packages/package_info/* @cyanglaz
packages/path_provider/* @collinjackson
packages/quick_actions/* @collinjackson
Expand Down
9 changes: 8 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,20 @@ To run the unit tests:
flutter test test/<name_of_plugin>_test.dart
```

To run the integration tests:
To run the integration tests using Flutter driver:

```
cd example
flutter drive test/<name_of_plugin>.dart
```

To run integration tests as instrumentation tests on a local Android device:

```
cd example
(cd android && ./gradlew -Ptarget=$(pwd)/../test_live/<name_of_plugin>_test.dart connectedAndroidTest)
```

## Contributing code

We gladly accept contributions via GitHub pull requests.
Expand Down
107 changes: 0 additions & 107 deletions FlutterFire.md

This file was deleted.

19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,3 @@ These are the available plugins in this repository.
| [url_launcher](./packages/url_launcher/) | [![pub package](https://img.shields.io/pub/v/url_launcher.svg)](https://pub.dev/packages/url_launcher) |
| [video_player](./packages/video_player/) | [![pub package](https://img.shields.io/pub/v/video_player.svg)](https://pub.dev/packages/video_player) |
| [webview_flutter](./packages/webview_flutter/) | [![pub package](https://img.shields.io/pub/v/webview_flutter.svg)](https://pub.dev/packages/webview_flutter) |
| | |
| **FlutterFire Plugins** | |
| [cloud_firestore](./packages/cloud_firestore/) | [![pub package](https://img.shields.io/pub/v/cloud_firestore.svg)](https://pub.dev/packages/cloud_firestore)
| [cloud_functions](./packages/cloud_functions/) | [![pub package](https://img.shields.io/pub/v/cloud_functions.svg)](https://pub.dev/packages/cloud_functions) |
| [firebase_admob](./packages/firebase_admob/) | [![pub package](https://img.shields.io/pub/v/firebase_admob.svg)](https://pub.dev/packages/firebase_admob) |
| [firebase_analytics](./packages/firebase_analytics/) | [![pub package](https://img.shields.io/pub/v/firebase_analytics.svg)](https://pub.dev/packages/firebase_analytics) |
| [firebase_auth](./packages/firebase_auth/) | [![pub package](https://img.shields.io/pub/v/firebase_auth.svg)](https://pub.dev/packages/firebase_auth) |
| [firebase_core](./packages/firebase_core/) | [![pub package](https://img.shields.io/pub/v/firebase_core.svg)](https://pub.dev/packages/firebase_core) |
| [firebase_crashlytics](./packages/firebase_crashlytics/) | [![pub package](https://img.shields.io/pub/v/firebase_crashlytics.svg)](https://pub.dev/packages/firebase_crashlytics) |
| [firebase_database](./packages/firebase_database/) | [![pub package](https://img.shields.io/pub/v/firebase_database.svg)](https://pub.dev/packages/firebase_database) |
| [firebase_dynamic_links](./packages/firebase_dynamic_links/) | [![pub package](https://img.shields.io/pub/v/firebase_dynamic_links.svg)](https://pub.dev/packages/firebase_dynamic_links) |
| [firebase_in_app_messaging](./packages/firebase_in_app_messaging/) | [![pub package](https://img.shields.io/pub/v/firebase_in_app_messaging.svg)](https://pub.dev/packages/firebase_in_app_messaging) |
| [firebase_messaging](./packages/firebase_messaging/) | [![pub package](https://img.shields.io/pub/v/firebase_messaging.svg)](https://pub.dev/packages/firebase_messaging) |
| [firebase_ml_vision](./packages/firebase_ml_vision/) | [![pub package](https://img.shields.io/pub/v/firebase_ml_vision.svg)](https://pub.dev/packages/firebase_ml_vision) |
| [firebase_performance](./packages/firebase_performance/) | [![pub package](https://img.shields.io/pub/v/firebase_performance.svg)](https://pub.dev/packages/firebase_performance) |
| [firebase_remote_config](./packages/firebase_remote_config/) | [![pub package](https://img.shields.io/pub/v/firebase_remote_config.svg)](https://pub.dev/packages/firebase_remote_config) |
| [firebase_storage](./packages/firebase_storage/) | [![pub package](https://img.shields.io/pub/v/firebase_storage.svg)](https://pub.dev/packages/firebase_storage) |

Learn more about [FlutterFire](https://github.com/flutter/plugins/blob/master/FlutterFire.md).
1 change: 1 addition & 0 deletions examples/all_plugins/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ flutter {

dependencies {
testImplementation 'junit:junit:4.12'
implementation 'com.google.guava:guava:27.0.1-android'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
api 'androidx.exifinterface:exifinterface:1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion examples/all_plugins/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:3.3.1'
}
}

Expand Down
8 changes: 8 additions & 0 deletions packages/android_alarm_manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 0.4.4

* Add `id` to `callback` if it is of type `Function(int)`

## 0.4.3

* Added `oneShotAt` method to run `callback` at a given DateTime `time`.

## 0.4.2

* Added support for setting alarms which work when the phone is in doze mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ public void notImplemented() {
// provided.
// TODO(mattcarroll): consider giving a method name anyway for the purpose of developer discoverability
// when reading the source code. Especially on the Dart side.
sBackgroundChannel.invokeMethod("", new Object[] {callbackHandle}, result);
sBackgroundChannel.invokeMethod(
"", new Object[] {callbackHandle, intent.getIntExtra("id", -1)}, result);
}

private static void scheduleAlarm(
Expand Down Expand Up @@ -242,6 +243,7 @@ private static void scheduleAlarm(

// Create an Intent for the alarm and set the desired Dart callback handle.
Intent alarm = new Intent(context, AlarmBroadcastReceiver.class);
alarm.putExtra("id", requestCode);
alarm.putExtra("callbackHandle", callbackHandle);
PendingIntent pendingIntent =
PendingIntent.getBroadcast(context, requestCode, alarm, PendingIntent.FLAG_UPDATE_CURRENT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static void registerWith(Registrar registrar) {
// alarmManagerPluginChannel is the channel responsible for receiving the following messages
// from the main Flutter app:
// - "AlarmService.start"
// - "Alarm.oneShot"
// - "Alarm.oneShotAt"
// - "Alarm.periodic"
// - "Alarm.cancel"
final MethodChannel alarmManagerPluginChannel =
Expand Down Expand Up @@ -125,7 +125,7 @@ public void onMethodCall(MethodCall call, Result result) {
PeriodicRequest periodicRequest = PeriodicRequest.fromJson((JSONArray) arguments);
AlarmService.setPeriodic(mContext, periodicRequest);
result.success(true);
} else if (method.equals("Alarm.oneShot")) {
} else if (method.equals("Alarm.oneShotAt")) {
// This message indicates that the Flutter app would like to schedule a one-time
// task.
OneShotRequest oneShotRequest = OneShotRequest.fromJson((JSONArray) arguments);
Expand Down
Loading