-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Flipper integration on iOS and update it (#27426)
Summary: The integration of Flipper on iOS was crashing the template, and `test_ios_e2e` were failing because of it. Flipper integration must be wrapped inside `FB_SONARKIT_ENABLED`. Flipper's issues with Yoga and YogaKit were solved in Flipper 0.28.0, so let's update our integration to it, and we'll need to use Swift. We will be able to ship this in 0.62 (cc grabbou, axe-fb, priteshrnandgaonkar), and it should fix `test_ios_e2e` (cc hramos) � . ## Changelog [iOS] [Fixed] - Fix Flipper integration on and update Flipper to 0.30.0 Pull Request resolved: #27426 Test Plan: - Initialized an app with my branch as source. - Added `[AppDelegate initializeFlipper:application];` to `didFinishLaunchingWithOptions`. - Launched Flipper. - Ran the app (debug). ![image](https://user-images.githubusercontent.com/7189823/70277734-ef85d680-1780-11ea-876c-1c08e6ed5804.png) - Ran the app (release). - Everything succeeds, no Flipper connection available in release. Reviewed By: hramos Differential Revision: D18841468 Pulled By: axe-fb fbshipit-source-id: 73bb4810d1fbb6a96102848f8700ebb7c23a615b
- Loading branch information
1 parent
e08412d
commit 898b1db
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
// Flipper requires Swift, feel free to delete this file if you do not plan to use Flipper. | ||
|
||
import Foundation |