-
Notifications
You must be signed in to change notification settings - Fork 37
How to update the FreshchatSDK.h using shell-script? #52
Comments
is this possible @fayeed ? :) |
@NileCrocodile do you have any workaround for this? this is important if you are running ci/cd |
@ccfiel hi! Although this particular implementation did not suit me either, because these actions need to be performed AFTER performing "pod install", and BEFORE the "flutter build ios" command. And this cannot be done in Codemagic, since every time the build is performed on a clean system, and the command "flutter build ios" itself calls "pod install" and this will overwrite the changes made earlier. |
@NileCrocodile nice! Maybe we can use fastlane codemagic also support it. Can you share your script how ta make it public? |
the script was not ready because I realized that I could not use it. But, my experience has shown that the Xcode works well with a project.pbxproj file in JSON format. |
@NileCrocodile ok thanks! 😀 |
@NileCrocodile even if we solve the script it's impossible to build the app in command line because of the timing? |
@NileCrocodile I did some searching maybe this could be could be the solution for the timing? flutter/flutter#53781 |
@NileCrocodile we have successfully build and deploy our app using codemagic and fastlane just put this in your ios folder ( thanks Olasunkanmi T. for this script ) and in codemagic pre-publish script
I hope this helps |
You have the following in your documentation:
Manually in xcode update the FreshchatSDK.h to be in the flutter_freshchat target and public.
We are trying to configure DI, and we need to do this using a shell-script. Could you please point out how we can do this step using a shell-script?
The text was updated successfully, but these errors were encountered: