Skip to content

如何添加开机动画,安卓 app 端 #3

@wuyonggang100

Description

@wuyonggang100

我按照文档中 capacitor 插件 splash-screen 的方式添加了配置,然而并没有生效,这困扰我有一段时间了,现在想请求你的帮助,你能给我一些指导吗?
capacitor.config.ts 中配置如下

SplashScreen: {
launchShowDuration: 2000,
launchAutoHide: false,
androidSplashResourceName: 'splash',
androidScaleType: 'CENTER_CROP',
iosSplashResourceName: 'splash',
showSpinner: true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions