D
D
Daniil Chashkov2020-03-07 10:00:32
Python
Daniil Chashkov, 2020-03-07 10:00:32

How to change package name on build (Flutter)?

Is it possible to somehow change the name of the package when building the application or make different package names in debug mode and when building?
It's just that I have a ready-made application on my phone, and it also has a version for debugging. And the project itself on the laptop is located in two folders, with different package names. Therefore, when releasing, you constantly have to copy a certain folder from the debug to the release. Is it possible to fit this into one folder?

DO NOT OFFER EMULATOR

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2019-07-26
@Cat_usual

print('Дата регистрации: ' + str(datetime.strptime(root[0][9].attrib['{http://purl.org/dc/elements/1.1/}date'],'%Y-%m-%dT%H:%M:%S%z').date().strftime('%d.%m.%Y')))

N
Nick, 2020-03-09
@DragonSpirit

You can try to beat through build flavors

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question