Permalink
Browse files

workaround android-only js module resolution issue

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 c20e0f94feb42a71633212114b42c62494fd4ff0
Showing with 13 additions and 0 deletions.
  1. +13 −0 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.