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
Once I added this package to the project the image_picker package stopped working !! #270
Comments
Look at your dependencies. Fixing Check our example app, clone our repo: https://github.com/bharat-biradar/Google-Ml-Kit-plugin/tree/master/packages/google_ml_kit/example Also, a couple of days ago I created this sample that uses one of our plugins and |
Hello, thanks for your response, i have two question, first when i added armv7 to the excluded architecture, the arm64 qdded by default when i try to remove it it shows me error, second when configuring firebase to the ios app i only added the bundle id and the GoogleService-info.plist to the project without any extra code, is it right like that ?
TEST
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Francisco Bernal ***@***.***>
Sent: Tuesday, May 31, 2022 8:41:25 PM
To: bharat-biradar/Google-Ml-Kit-plugin ***@***.***>
Cc: hassanyassiin ***@***.***>; Author ***@***.***>
Subject: Re: [bharat-biradar/Google-Ml-Kit-plugin] Once I added this package to the project the image_picker package stopped working !! (Issue #270)
Look at your dependencies. Fixing image_picker is outside the scope of this plugin. Check our example app, it is using image_picker and it is working with no issues in both iOS and Android, so I am afraid this more an issue is your dependencies and how you are configuring your project.
Check our example app, clone our repo: https://github.com/bharat-biradar/Google-Ml-Kit-plugin/tree/master/packages/google_ml_kit/example
Also, a couple of days ago I created this sample that uses one of our plugins and image_picker, and it is running with no issues: https://github.com/fbernaly/web_text_recognition_poc
—
Reply to this email directly, view it on GitHub<#270 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWTXLC2SUO3RPXGQHV5XAFLVMZFMLANCNFSM5XMRSJTQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
I am using object detection and tracking, yes i excluded armv7 but once i excluded the arm64 also added automatically why? Second i shouldn't add the firebase sdk to the project right ? As it mentioned in step 3 in the firebase doc (adding to ios)
TEST
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Francisco Bernal ***@***.***>
Sent: Tuesday, May 31, 2022 8:56:21 PM
To: bharat-biradar/Google-Ml-Kit-plugin ***@***.***>
Cc: hassanyassiin ***@***.***>; Author ***@***.***>
Subject: Re: [bharat-biradar/Google-Ml-Kit-plugin] Once I added this package to the project the image_picker package stopped working !! (Issue #270)
1. yes, you need to exlucide armv7 as explained here: https://github.com/bharat-biradar/Google-Ml-Kit-plugin#ios
2. which API are you using?
—
Reply to this email directly, view it on GitHub<#270 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWTXLC6IX7OYWLL5U4KPP5LVMZHELANCNFSM5XMRSJTQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
yes, unfortunately in case of object detection you need Firebase, and that is because for this API there is this one feature that allows you to download your model from Firebase. And since the plugin bundles everything together we have not found a way to get rid of that. Other than adding the GoogleService-info.plist to the project you need to initialize Initialize Firebase in your app. |
What do you mean with added automatically? never seen that? |
@fbernaly Please can you help to fix this issue about adding the amr64 automatically ? because I'm not able to run my app on the iOS simulators but on any iOS real device it works great and also on the android devices/emulators |
Have you tried to run ours example app in the iOS simulator? So far, for me it is compiling and running in the simulator. You need to check the configuration of your iOS project, compare it side by side with the configuration of our example app. Also, I am wondering if you excluded armv7 in the target level or project level? it should be project level. In the screenshot you shared you are showing me target level, but look at the screenshoot in our readme, it is showing project level. |
Hello, no I’m excluding the armv7 in the project level but once i added there, it automatically added to the target level then if i remove it in the target level the simulator will throw an error
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Francisco Bernal ***@***.***>
Sent: Friday, June 3, 2022 5:31:31 PM
To: bharat-biradar/Google-Ml-Kit-plugin ***@***.***>
Cc: hassanyassiin ***@***.***>; Author ***@***.***>
Subject: Re: [bharat-biradar/Google-Ml-Kit-plugin] Once I added this package to the project the image_picker package stopped working !! (Issue #270)
Have you tried to run ours example app in the iOS simulator? So far, for me it is compiling and running in the simulator. You need to check the configuration of your iOS project, compare it side by side with the configuration of our example app. Also, I am wondering if you excluded armv7 in the target level or project level? it should be project level. In the screenshot you shared you are showing me target level, but look at the screenshoot in our readme<https://github.com/bharat-biradar/Google-Ml-Kit-plugin#ios>, it is showing project level.
—
Reply to this email directly, view it on GitHub<#270 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWTXLC4YYMUGHACZDXW4CNLVNIJMHANCNFSM5XMRSJTQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Compare side by side with our example app. Ours can be ran in the simulator |
Thanks for your response, kindly can you send me the buildsettings in the target runner please ? I want to see the excluded architecture in you target level
TEST
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Francisco Bernal ***@***.***>
Sent: Friday, June 3, 2022 5:47:02 PM
To: bharat-biradar/Google-Ml-Kit-plugin ***@***.***>
Cc: hassanyassiin ***@***.***>; Author ***@***.***>
Subject: Re: [bharat-biradar/Google-Ml-Kit-plugin] Once I added this package to the project the image_picker package stopped working !! (Issue #270)
Compare side by side with our example app. Ours can be ran in the simulator
—
Reply to this email directly, view it on GitHub<#270 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWTXLC6YUIZ2OGPFDOS6V7TVNILGNANCNFSM5XMRSJTQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
it is in the repo: https://github.com/bharat-biradar/Google-Ml-Kit-plugin/tree/master/packages/google_ml_kit/example/ios clone our repo and run the app |
@fbernaly Thanks for your help! i clone the app and it is working great in all devices but except on the IOS simulators, the app run in the IOS simulator without errors but what happen is that the image picker will return null when select an image, and even the object detector package didn't work in the IOS simulator and what i noticed that once i run the app the arm64 added automatically into the target-> Exculed Architectures -> Any IOS Simulator !!. Kindly can you check on your IOS Simulator if the image picker return an image ? and if yess can you help me to solve this issue it take me too long and didn't find any solution and the deadline for me is Tuesday to submit my task!!!. |
Sorry, I cannot do anymore, I also running on a M1 processor as well, and for me it is perfectly running on the iOS simulator. I cannot reproduce the same issue you are facing. And image picker is working as well. |
once I added this package, I wasn't able to select images anymore by image_picker I tried with several projects. the gallery will open but the image will return nul, I don't know why but that what happening
The text was updated successfully, but these errors were encountered: