add preparation for windows platform view

This commit is contained in:
Nick Fisher
2022-01-30 15:59:39 +08:00
parent 97eca4a418
commit 6d5a63d398
9 changed files with 19 additions and 156 deletions

View File

@@ -7,7 +7,7 @@
#include "FilamentViewer.hpp"
static const id VIEW_TYPE = @"holovox.app/filament_view";
static const id VIEW_TYPE = @"app.polyvox.filament/filament_view";
@interface FilamentMethodCallHandler : FlutterMethodChannel
- (void)handleMethodCall:(FlutterMethodCall* _Nonnull)call result:( FlutterResult _Nonnull)result;

View File

@@ -7,6 +7,6 @@ FilamentNativeViewFactory* factory;
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
factory =
[[FilamentNativeViewFactory alloc] initWithRegistrar:registrar];
[registrar registerViewFactory:factory withId:@"holovox.app/filament_view"];
[registrar registerViewFactory:factory withId:@"app.polyvox.filament/filament_view"];
}
@end