forked from firka/flutter
Test the Android embedding v2 (#42708)
* Test the Android embedding v2 * Update integration tests * Split into shards
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package {{androidIdentifier}};
|
||||
|
||||
{{#useNewAndroidEmbedding}}
|
||||
{{#useAndroidEmbeddingV2}}
|
||||
{{#androidX}}
|
||||
import androidx.annotation.NonNull;
|
||||
{{/androidX}}
|
||||
@@ -29,9 +29,13 @@ public class {{pluginClass}} implements FlutterPlugin, MethodCallHandler {
|
||||
result.notImplemented();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) {
|
||||
}
|
||||
}
|
||||
{{/useNewAndroidEmbedding}}
|
||||
{{^useNewAndroidEmbedding}}
|
||||
{{/useAndroidEmbeddingV2}}
|
||||
{{^useAndroidEmbeddingV2}}
|
||||
import io.flutter.plugin.common.MethodCall;
|
||||
import io.flutter.plugin.common.MethodChannel;
|
||||
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
|
||||
@@ -55,4 +59,4 @@ public class {{pluginClass}} implements MethodCallHandler {
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/useNewAndroidEmbedding}}
|
||||
{{/useAndroidEmbeddingV2}}
|
||||
|
||||
Reference in New Issue
Block a user