Skip to content

建议增加路由无法响应方法 #40

@gilnuy

Description

@gilnuy

正常情况,dart端在这里注册路由实现:FlutterBoost.singleton.registerPageBuilders({});
原生端 - (void)openPage:(NSString *)name params:(NSDictionary *)params animated:(BOOL)animated completion:(void (^)(BOOL))completion;
在这个方法调用路由。

如果这边push了一个未注册的page name。页面会直接红屏报错。
强烈建议在 FlutterBoostPlugin 类新增一个判断页面是否注册的方法

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions