# Sharing Android Business Logic with iOS Using Doppl and MVP Architecture

DevFeed: [Sharing Android Business Logic with iOS Using Doppl and MVP Architecture](<https://devfeed.tech/articles/mvp-for-ios-and-and-pdq-kevin-galligan-38301.md>)

Original publisher: [Read original article](<https://touchlab.co/mvp-for-ios-and-and-pdq>)

Published: 2016-12-12T17:00:07Z

Content type: article

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [cross-platform](<https://devfeed.tech/topics/cross-platform.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [backends](<https://devfeed.tech/topics/backends.md>), [MVVM](<https://devfeed.tech/topics/mvvm.md>), [Dagger](<https://devfeed.tech/topics/dagger.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Objective-C](<https://devfeed.tech/topics/objective-c.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [built-by-touchlab](<https://devfeed.tech/tags/built-by-touchlab.md>), [code-sharing](<https://devfeed.tech/tags/code-sharing.md>), [dagger](<https://devfeed.tech/tags/dagger.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [ios](<https://devfeed.tech/tags/ios.md>), [mvvm](<https://devfeed.tech/tags/mvvm.md>), [native](<https://devfeed.tech/tags/native.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [press](<https://devfeed.tech/tags/press.md>), [robolectric](<https://devfeed.tech/tags/robolectric.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>)

## AI overview

The article explains Doppl, a set of tools and libraries built around j2objc for sharing Android business logic with iOS while keeping native user interfaces. It discusses applying MVP architecture, adding Dagger for dependency injection, and using sample test runners, while noting that iOS unit tests must currently be run from an Xcode app rather than the command line.

## Source excerpt

Are you building a product and decided to build native? Do you have some no trivial business logic? If so then be sure to read this latest post.