Skip to content

Commit

Permalink
workaround android-only js module resolution issue
Browse files Browse the repository at this point in the history
Summary: for some reason metro was not able to find js module with just .android.js variant. To workaround some build issue, added an empty .ios.js variant

Reviewed By: mdvacca

Differential Revision: D7115360

fbshipit-source-id: 40b95cf2efc4d3d599f39b88813469b6d78e7b48
  • Loading branch information
fkgozali authored and facebook-github-bot committed Mar 1, 2018
1 parent 1605786 commit c20e0f9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions RNTester/js/ToolbarAndroidExample.ios.js
@@ -0,0 +1,13 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @providesModule ToolbarAndroidExample
*/
'use strict';

// Not applicable to iOS.
module.exports = require('View');

0 comments on commit c20e0f9

Please sign in to comment.