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

Create a multi-environment app (development/production) [$300] #297

Closed
kodjima33 opened this issue Jun 17, 2024 · 21 comments · Fixed by #306
Closed

Create a multi-environment app (development/production) [$300] #297

kodjima33 opened this issue Jun 17, 2024 · 21 comments · Fixed by #306
Assignees

Comments

@kodjima33
Copy link
Collaborator

kodjima33 commented Jun 17, 2024

Is your feature request related to a problem? Please describe.
Been able to test changes easily, and bring more stability to releases.

Describe the solution you'd like
The app should have development and production environments, which allow to have appId for development finished a .dev, and also allow to use different .env file for each version.

This should work for android and ios.

Describe alternatives you've considered
We've seen at flutter flavorizr, and other flutter docs https://docs.flutter.dev/deployment/flavors

Additional context
Add any other context or screenshots about the feature request here.

THIS IS A PAID TASK ($300). TO COMPLETE IT AND RECEIVE A BOUNTY, CREATE PULL REQUEST

@josancamon19 josancamon19 changed the title creating multi env. app Create a multi-environment app (development/production) Jun 17, 2024
@josancamon19 josancamon19 changed the title Create a multi-environment app (development/production) Create a multi-environment app (development/production) [$300] Jun 17, 2024
@TekExplorer
Copy link

What do you need that isn't supplied by simply checking kDebugMode?
You need to keep environment variables separated regardless right?

@georonathan47
Copy link

georonathan47 commented Jun 18, 2024

Describe the solution you'd like The app should have development and production environments, which allow to have appId for development finished a .dev, and also allow to use different .env file for each version.

I don't understand the .dev file... What's its purpose? Is it really needed?

@ologunB
Copy link
Contributor

ologunB commented Jun 18, 2024

I am already on this.

@georonathan47
Copy link

I am already on this.

I'll leave it for you, then

@ologunB
Copy link
Contributor

ologunB commented Jun 18, 2024

Haha. Alright, thanks. @georonathan47

@TekExplorer
Copy link

I dont see the point of being "on this" if it's not clear what is desired here. I don't know of anything this is asking for that even needs flavors in the first place.

@ologunB
Copy link
Contributor

ologunB commented Jun 18, 2024

It is clear enough though.

  1. Add flavour to the app so the app ids are different and dev can be run independent of the prod
  2. Use a .env variant so that the parameters of dev and prod are different. @TekExplorer

@josancamon19
Copy link
Contributor

Please keep posting updates, will keep it to you for the next 2 days

@josancamon19
Copy link
Contributor

Reviewing @costa96 PR

@ologunB ologunB mentioned this issue Jun 18, 2024
@ologunB
Copy link
Contributor

ologunB commented Jun 18, 2024

#306 should fix the above issue

@kodjima33 kodjima33 added the task label Jun 20, 2024
@josancamon19
Copy link
Contributor

lgtm, please dm on discord your transfer details to @kodjima33

josancamon19 added a commit that referenced this issue Jun 22, 2024
add .env installer

fixes #297
@josancamon19
Copy link
Contributor

@ologunB please remove the app identifier from your apple account
CleanShot 2024-06-22 at 12 14 28@2x

@josancamon19 josancamon19 reopened this Jun 22, 2024
@ologunB
Copy link
Contributor

ologunB commented Jun 23, 2024 via email

@josancamon19
Copy link
Contributor

let me know @ologunB

@ologunB
Copy link
Contributor

ologunB commented Jun 24, 2024 via email

@ologunB
Copy link
Contributor

ologunB commented Jun 24, 2024

Its being removed @josancamon19

@josancamon19
Copy link
Contributor

Thanks @ologunB

Still cant :( let me know if I can help

CleanShot.2024-06-24.at.11.57.09.mp4

@ologunB
Copy link
Contributor

ologunB commented Jun 25, 2024 via email

@josancamon19
Copy link
Contributor

Yes please, that works, thanks.

@josancamon19
Copy link
Contributor

Hey, amazing work @ologunB thank you so much for the help!

Don't forget to share your transfer details to [email protected]

@ologunB
Copy link
Contributor

ologunB commented Jun 27, 2024

@josancamon19 i have sent a mail to the email above and message to @kodjima33 on discord server but I'm yet to get a response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants