Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@collinjackson
Copy link
Contributor

@collinjackson collinjackson commented Mar 6, 2019

Recently Cloud Functions changed their API in a breaking fashion, which caused build errors for some users. Also fixes a regression in the new region handling that didn't handle the default case gracefully.

Fixes flutter/flutter#28433
Fixes flutter/flutter#28578

I verified manually that the iOS app works properly.

@collinjackson collinjackson changed the title Fix for cloud_functions on iOS region is null Fix for cloud_functions on iOS when region is null Mar 6, 2019
@collinjackson collinjackson changed the title Fix for cloud_functions on iOS when region is null Specify a version for cloud_functions CocoaPod and handle null regions gracefully Mar 6, 2019
@collinjackson collinjackson changed the title Specify a version for cloud_functions CocoaPod and handle null regions gracefully Specify version for cloud_functions CocoaPod and handle null regions gracefully Mar 6, 2019
@collinjackson collinjackson changed the title Specify version for cloud_functions CocoaPod and handle null regions gracefully [cloud_functions] Specify version for CocoaPod and handle null regions gracefully Mar 6, 2019
@collinjackson collinjackson self-assigned this Mar 6, 2019
@rishabnayak
Copy link
Contributor

Tested on my end too, works like a charm!

Copy link
Contributor

@iskakaushik iskakaushik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo the example/pubspec.yml change

@iskakaushik
Copy link
Contributor

LGTM

@iskakaushik iskakaushik merged commit f8078a5 into flutter:master Mar 6, 2019
@collinjackson collinjackson deleted the cloud_functions_fix branch March 6, 2019 19:49
@rishabnayak
Copy link
Contributor

did this go through @iskakaushik? The version 0.1.2 shows up as not matching any versions

@iskakaushik
Copy link
Contributor

@rishab2113 this needs to get published. @collinjackson, could you please publish this when you get a chance?

jonasbark pushed a commit to jonasbark/plugins that referenced this pull request Mar 11, 2019
* commit '9017d6e7f867af278edd7e8e584d52524f37443f': (408 commits)
  [webview_flutter]Allow specifying a navigation delegate(Android and Dart). (flutter#1236)
  Allow specifying a navigation delegate (iOS implementation). (flutter#1323)
  Change build link in contributors site to cirrus (flutter#1327)
  [image_picker] Update versioning for flutter#1268 (flutter#1326)
  [image_picker] remove unnecessary camera permmision (flutter#1268)
  Exclude longPress from semantics (flutter#1324)
  [in_app_purchase] refactoring and tests (flutter#1322)
  [in_app_purchase] Adds Dart BillingClient APIs for loading purchases (flutter#1286)
  [connectivity] Update README.md (flutter#1201)
  [camera] Fixes #28350 (flutter#1261)
  [cloud_functions] Specify version for CocoaPod and handle null regions gracefully (flutter#1316)
  [in_app_purchase]retrieve receipt (flutter#1303)
  [firebase_analytics] Add resetAnalyticsData method (flutter#1311)
  trackCameraPosition is inferred from GoogleMap.onCameraMove (flutter#1314)
  [google_maps_flutter]ChangeNotifier is replaced with granular callbacks (flutter#1302)
  [video_player]Do not divide by zero (flutter#793)
  [firebase_dynamic_links] Version bump for firebase_dynamic_links PR flutter#1142 (flutter#1309)
  [firebase_dynamic_links] fix dynamic link crash when creating shortlink if warnings are null (flutter#1142)
  Fix typo in RewardedVideoAdd sample (flutter#927)
  Add my name to firebase_performance and firebase_dynamic_links owners (flutter#1300)
  ...

# Conflicts:
#	packages/camera/android/src/main/java/io/flutter/plugins/camera/CameraPlugin.java
#	packages/camera/ios/Classes/CameraPlugin.m
#	packages/firebase_auth/ios/Classes/FirebaseAuthPlugin.m
#	packages/image_picker/android/build.gradle
#	packages/video_player/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayerPlugin.java
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
…s gracefully (flutter#1316)

* Fix for cloud_functions on iOS region is null

* Fix build errors due to ambiguous version

* Reformat

* Update example app firebase_core dependency
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cloud_functions] - Internal Exception invisible to the user cloud_functions 0.1.1+1 crashing iOS

4 participants