It does not have to be integrated in source code, you can consider integrating in binary form.
There is a set of common business logic components, and business logic is shared through package management.
Other consumer projects (in your case, mobile phones and tablets) use it by referencing components (packages).
If there are changes to the business logic, just modify the common code and update the package for other consumption projects.
There will be a total of 3 projects here, business logic project, mobile phone project, and tablet project.
Mobile phone and tablet projects reference business logic projects through package management.
Different platforms have different component (package) management methods. For example, the .Net platform has nuget, and Javascript also has many of its own. You can learn about it.
It does not have to be integrated in source code, you can consider integrating in binary form.
There is a set of common business logic components, and business logic is shared through package management.
Other consumer projects (in your case, mobile phones and tablets) use it by referencing components (packages).
If there are changes to the business logic, just modify the common code and update the package for other consumption projects.
There will be a total of 3 projects here, business logic project, mobile phone project, and tablet project.
Mobile phone and tablet projects reference business logic projects through package management.
Different platforms have different component (package) management methods. For example, the .Net platform has nuget, and Javascript also has many of its own. You can learn about it.