CrossGeeks / GoogleClientPlugin

Google Client Plugin for Xamarin iOS and Android
https://www.pujolsluis.com/google-client-plugin-for-xamarin/
MIT License
89 stars 37 forks source link

How to subscribe OpenUrl for iOS with Google and FacebookClientPlugin at the same time? #38

Closed nguyenthanhliemfc closed 5 years ago

nguyenthanhliemfc commented 5 years ago

Describe the bug public override bool OpenUrl(UIApplication app, NSUrl url, NSDictionary options) { return FacebookClientManager.OpenUrl(app, url, options); return GoogleClientManager.OnOpenUrl(app, url, options); } Only first "return" will run To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Pujolsluis commented 5 years ago

Hey @nguyenthanhliemfc,

You just add one line after the other in the method and return whichever you like or just return true at the end of the method and ce finito! 😄