var ios_script = require('./create_ios_strings');
var android_script = require('./create_android_strings');

module.exports = function (context) {
    var platforms = context.opts.platforms;

    var promises = [];

    if (platforms.indexOf('ios') >= 0) {
        promises.push(ios_script(context));
    }

    if (platforms.indexOf('android') >= 0) {
        promises.push(android_script(context));
    }

    return Promise.all(promises);
};

@@ -1,15 +1,19 @@
 var 
-ios
+android
 _script 
@@ -32,19 +32,23 @@
 /create_
-ios
+android
 _strings
@@ -51,31 +51,27 @@
 ings');%0Avar 
-android
+ios
 _script = re
@@ -78,39 +78,35 @@
 quire('./create_
-android
+ios
 _strings');%0A%0Amod
@@ -236,19 +236,23 @@
 ndexOf('
-ios
+android
 ') %3E= 0)
@@ -276,19 +276,23 @@
 es.push(
-ios
+android
 _script(
@@ -328,39 +328,35 @@
 tforms.indexOf('
-android
+ios
 ') %3E= 0) %7B%0A     
@@ -364,39 +364,35 @@
   promises.push(
-android
+ios
 _script(context)

reorder android_script and ios_script