I was trying to make my already existing app as a base code for my other targets (applications) that i wanted to release. It took me some time in learning the process. I did that and i want to help people by answering it myself. Its straight forward in iOS and seemed rough in android studio , but eventually turned to be insanely simple.
Problem Statement:
- Application is created and you want to use it as a library so that code repetition is minimal. OR
- You want to add two or more apps with small changes and basically the same code.i.e you want to add modules that use same basic functionality code(layouts , string files, themes, assets etc)