Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Significant iOS launch delay when using mlkit-core and mlkit-text-recognition #69

Open
rdlauer opened this issue Dec 3, 2024 · 0 comments

Comments

@rdlauer
Copy link

rdlauer commented Dec 3, 2024

After spinning up a fresh hello world app, I added the following two plugins:

"@nativescript/mlkit-core": "^2.1.0",
"@nativescript/mlkit-text-recognition": "^2.1.0",

When running the app in the iOS simulator, there is a significant (i.e. 3-5 second) delay when the app launches. Any ideas what the culprit could be?

Full platform.json:

{
  "name": "testapp",
  "main": "app/app.ts",
  "version": "1.0.0",
  "private": true,
  "dependencies": {
    "@nativescript/core": "~8.8.6",
    "@nativescript/mlkit-core": "^2.1.0",
    "@nativescript/mlkit-text-recognition": "^2.1.0",
    "@nativescript/theme": "^3.1.0"
  },
  "devDependencies": {
    "@nativescript/ios": "8.8.2",
    "@nativescript/types": "~8.8.0",
    "@nativescript/webpack": "~5.0.22",
    "typescript": "~5.7.2"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant