This is a migrated thread and some comments may be shown as answers.

Free and Paid version of App

1 Answer 57 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeff
Top achievements
Rank 1
Jeff asked on 30 Jul 2014, 11:54 AM
We want to have a free version and a paid version of our app. The difference between the two will be removing some features that are available in the paid version from the free one. 

Is there any way to share code between the two apps? I would hate to maintain two different code bases when 95% of the code will be the same.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Tonci
Top achievements
Rank 2
answered on 31 Jul 2014, 02:05 AM
For very simple apps I would create one AppBuilder project and add project to remote git repository like github.com, bitbucket.org or visualstudio.com. This will be development version of code. I would invent some kind of settings to configure different behavior of free and paid versions. 

Than clone same code from remote git as second project in AppBuilder to test and deploy free version. Do the same for paid version. Use remote git as vehicle to share code updates form development version to free and piad version of code.

Still this is useful only if you have minor difference in code that could be accommodated with this kind of simple settings/configuration strategy. Also you could have merge conflict problems in git if you change the same file in different places. So if you are taking care you could get away with this simple workaroud.
Tags
General Discussion
Asked by
Jeff
Top achievements
Rank 1
Answers by
Tonci
Top achievements
Rank 2
Share this question
or