[React Native] Provide a way to get a list of registered apps in AppRegistry
This commit is contained in:
parent
331e4a96e9
commit
0f5190e9f3
|
@ -67,6 +67,10 @@ var AppRegistry = {
|
||||||
return appKey;
|
return appKey;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getAppKeys: function(): Array<string> {
|
||||||
|
return Object.keys(runnables);
|
||||||
|
},
|
||||||
|
|
||||||
runApplication: function(appKey: string, appParameters: any): void {
|
runApplication: function(appKey: string, appParameters: any): void {
|
||||||
console.log(
|
console.log(
|
||||||
'Running application "' + appKey + '" with appParams: ' +
|
'Running application "' + appKey + '" with appParams: ' +
|
||||||
|
|
Loading…
Reference in New Issue