[React Native] Provide a way to get a list of registered apps in AppRegistry

This commit is contained in:
Philipp von Weitershausen 2015-08-07 11:50:23 -07:00
Родитель 331e4a96e9
Коммит 0f5190e9f3
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -67,6 +67,10 @@ var AppRegistry = {
return appKey;
},
getAppKeys: function(): Array<string> {
return Object.keys(runnables);
},
runApplication: function(appKey: string, appParameters: any): void {
console.log(
'Running application "' + appKey + '" with appParams: ' +