While BlackBerry was dominant in the early smartphone market, partially due to a large market share within the enterprise and governmental markets, the company had struggled in recent years due to the dominance of Apple Inc. and its iPhone line, and Android devices—primarily by Samsung Electronics. By June 2015, the company's market share in the U. S. consumer market had fallen to 1. 2%. Facing a struggling ecosystem for native, third-party software on BlackBerry 10, BlackBerry added a compatibility layer for Android software to the OS, and allowed developers to repackage their Android apps for distribution on BlackBerry World. Later versions added the ability for users to manually install Android app packages. Beginning with the BlackBerry Passport, Amazon Appstore was bundled with BlackBerry 10 to provide an additional source of third-party Android software. BlackBerry CEO John S. Chen hoped that Amazon's own smartphone, the Fire Phone, would bolster the adoption of the Amazon store and attract more major developers to it, and in turn, BlackBerry's ecosystem. However, the Fire Phone was a commercial failure, which led to BlackBerry's decision to develop an Android phone of its own.