Update hello_services for a change to the message listener API (#4670)
This commit is contained in:
@@ -44,7 +44,7 @@ public class ExampleActivity extends Activity {
|
||||
flutterView.addOnMessageListener("getLocation",
|
||||
new FlutterView.OnMessageListener() {
|
||||
@Override
|
||||
public String onMessage(String message) {
|
||||
public String onMessage(FlutterView view, String message) {
|
||||
return onGetLocation(message);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user