Open luanemanuel opened 1 year ago
I am getting same in android also.
I am getting same in android also.
@fbernaly
At present, I can only modify the code as follows to ensure normal operation;
Annotate all if (! GenericModelManager. isModelDownloaded (model))
Only judge on the Flutter platform first
public void isModelDownloaded(RemoteModel model, @NonNull final MethodChannel.Result result) {
// IsModelDownloaded myCallable = new IsModelDownloaded(remoteModelManager.isModelDownloaded(model));
// Future
Thanks, will take a look
I implemented some changes in my project by switching the language model exclusively to 'pt'. Consequently, ink_recognition is now functional on iOS again, albeit exclusively for iOS 14 and later versions. I conducted tests on the following platforms:
Out of these devices, only the virtual ones with iOS 14+ operated smoothly. Earlier versions resulted in the app abruptly closing without generating a crash log on Crashlytics. Unfortunately, I lack an adapter to connect the physical iPhone to my Mac for conducting development tests, so I do not possess a detailed log of the incident.
@fbernaly any updates on this? I would really appreciate a fix for this, because currently, I can not use this package on iOS at all due to this crash.
This issue is stale because it has been open for 30 days with no activity.
Title: Crash when attempting to run on iOS.
Describe the bug I'm using the ink_recognition library, but it's crashing when trying to download the model on iOS 12 with an iPhone 6 (physical device) and when attempting to run recognition on iOS 16 with an iPhone 14 Pro Max (simulator). I'm using the "pt-BR" model, but the same issue occurs with the "en-US" model. When testing on Android, the model downloads and runs without any issues.
To Reproduce Steps to reproduce the behavior:
Expected behavior The drawing should be recognized without any issues.
Platform (please complete the following information):
Additional context Download Method:
Crash log: