Facebook has been secretly preparing contingency measures to allow its apps to operate on Android phones without going through Google’s app store, according to people who have been involved in different parts of the strategy.

Facebook’s goal is to be ready in case it has an intractable conflict with Google, which operates the Android mobile operating system, over future rules governing how apps can function on Android.