Commit Graph

293 Commits

Author SHA1 Message Date
Michel Weststrate
426d17b08d Update docs for JS only plugins
Summary: Added docs on how to write React-Native JavaScript based plugins

Reviewed By: passy

Differential Revision: D19344803

fbshipit-source-id: ad1ea66f1031760729fdaea8a7e6c1ef5dcd5439
2020-01-23 07:11:31 -08:00
Anton Nikolaev
0f5556dcf0 Flipper Bump: v0.30.3-SNAPSHOT
Reviewed By: jknoxville

Differential Revision: D19494144

fbshipit-source-id: f4cc98afb0ce10fc65f508dd8a11cf408f01e027
2020-01-21 04:30:33 -08:00
Anton Nikolaev
4d91f6eb60 Flipper Release: v0.30.2
Reviewed By: passy

Differential Revision: D19494145

fbshipit-source-id: d5d0bdf6a033c3de286029adec3e0f6245864a62
2020-01-21 03:56:46 -08:00
Michel Weststrate
df753ffa06 Fixed error in RN iOS setup guide. Should fix #723
Summary: Small fix in docs to address https://github.com/facebook/flipper/issues/723

Reviewed By: jknoxville

Differential Revision: D19428560

fbshipit-source-id: 38c189fbca015196c0dd74a243b4f3ee281f0452
2020-01-16 06:32:09 -08:00
Pritesh Nandgaonkar
4530eb9235 Release glog and DoubleConversion with different names
Summary: This releases glog and DoubleConversion under "Flipper" preappended name as it solves the issues with Flipper integration with RN under use_frameworks!  keyword.

Reviewed By: passy

Differential Revision: D19392941

fbshipit-source-id: ebdcdc23fcce45cec9bfc6d4f18c14a734caf24f
2020-01-14 10:55:16 -08:00
Jiawen Geng
deeab52d41 update to latest flipper-fresco-plugin version (#739)
Summary:
## Changelog
Pull Request resolved: https://github.com/facebook/flipper/pull/739

Differential Revision: D19344945

Pulled By: passy

fbshipit-source-id: bb3e1fb0a46e7142575e582d20eb56aac2b23a55
2020-01-10 03:52:50 -08:00
Pascal Hartig
38f5debf78 Add a note about flipper-android-no-op (#737)
Summary:
Close https://github.com/facebook/flipper/issues/736
Pull Request resolved: https://github.com/facebook/flipper/pull/737

Test Plan: eyes

Reviewed By: jknoxville

Differential Revision: D19328300

Pulled By: passy

fbshipit-source-id: d3fb5ba4fcbbc7e00fc37aefb55179630bf36916
2020-01-09 08:46:31 -08:00
Luis Felipe Zaguini
2fac06e018 Added missing import on AppDelegate.m (#714)
Summary:
We were missing `#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>`. I also took the liberty to organize the imports in alphabetical order.
Pull Request resolved: https://github.com/facebook/flipper/pull/714

Reviewed By: mweststrate

Differential Revision: D19288396

Pulled By: passy

fbshipit-source-id: 3cfd0cfa90054284fe179ccc39d0fe9e7208ec9b
2020-01-06 09:41:28 -08:00
Michel Weststrate
9acf23596e Show a message if a background plugin is not starred
Summary:
Since background plugins don't receive data anymore when not starred, we should hint the user about this.

For this diff, I reused the existing statusbar. Although this solution is quite ugly, I think it is better than introducing yet another notification / warning mechanism. Probably we should revisit the layout of this status bar in the future.

Reviewed By: jknoxville

Differential Revision: D19251588

fbshipit-source-id: 1dfd07be383d4ba318f344ebff4b08ed36194c58
2020-01-02 07:14:15 -08:00
Michel Weststrate
0494a84d98 Make sure that plugins don't store events unbounded
Summary:
To avoid plugins to collect data forever and store it (if they are never opened), introduced a hard-coded default limit on how many events will be preserved.

A semantic change is that plugins have to be potentially resistant against missing events. So far, during testing, this didn't seem to cause any problems.

Reviewed By: jonathoma

Differential Revision: D19175912

fbshipit-source-id: 828be941e76b7356c9f5be7e5a49de9a7a31b0d2
2020-01-02 07:14:13 -08:00
Pascal Hartig
0d7fd11048 Flipper Bump: v0.30.2-SNAPSHOT
Summary: Back to snapshots

Reviewed By: priteshrnandgaonkar

Differential Revision: D19030536

fbshipit-source-id: 25ee980b467b30cfb8e6d9d8c940fd43b65fe6ae
2019-12-16 03:17:16 -08:00
Pascal Hartig
21be861894 Flipper Release: v0.30.1
Summary: New release built against Litho 0.33.

Reviewed By: priteshrnandgaonkar

Differential Revision: D19030537

fbshipit-source-id: a14b04decf3023e9ee78ef2a894061d8b04d232e
2019-12-13 11:33:36 -08:00
Michel Weststrate
cf9f4e0c5b Document how to test JavaScript plugins
Summary: It's not much, but at least more than nothing :)

Reviewed By: nikoant

Differential Revision: D18930725

fbshipit-source-id: b1e5fa203b0020de7b5f16d040808cbb247b8dd4
2019-12-13 07:11:43 -08:00
Michel Weststrate
8da2c8868b Expose Immer's produce from Flipper
Summary: Diff preparing for optimizing GraphQL (and other) plugins, and simplifying writing reducers by others

Reviewed By: nikoant

Differential Revision: D18930858

fbshipit-source-id: 91d176d77543978d65ea50635d4ed380690b1fa2
2019-12-13 07:11:43 -08:00
Anton Nikolaev
c0f902f81a Upgrade to emotion v10
Summary: React 16 is not compatible with react-emotion 9 (it prints warnings, see also https://github.com/emotion-js/emotion/issues/644). So we should upgrade to 10.

Reviewed By: mweststrate

Differential Revision: D18905889

fbshipit-source-id: c00d2dbbadb1c08544632cb9bfcd63f2b1818a25
2019-12-11 09:43:24 -08:00
Nicolas Charpentier
201203ab84 Refresh Getting Started with the latest React Native integration (#676)
Summary:
Sync the Getting Started section about React Native integration with the latest changes in https://github.com/facebook/react-native/pull/27426.

## Changelog

Refresh Getting Started with the latest React Native integration
Pull Request resolved: https://github.com/facebook/flipper/pull/676

Test Plan: Tested in RN's template.

Reviewed By: mweststrate

Differential Revision: D18853584

Pulled By: passy

fbshipit-source-id: d001046106743b68d2f08b084c7618d8f768dea1
2019-12-10 06:07:03 -08:00
Pritesh Nandgaonkar
971fa32392 Flipper Bump: v0.30.1-SNAPSHOT
Summary: Sanpshot

Reviewed By: mweststrate

Differential Revision: D18807900

fbshipit-source-id: a3719eb2196efe5fb4299d70d1adfa9d024e04f7
2019-12-04 04:03:47 -08:00
Pritesh Nandgaonkar
b9ed6022f9 Flipper Release: v0.30.0
Summary:
## Changelog

- Release of the redesigned Support Form

Reviewed By: mweststrate

Differential Revision: D18807901

fbshipit-source-id: 7a8b0775480d9acb6152e9e84425da8256b09964
2019-12-04 04:03:46 -08:00
Pascal Hartig
749228674f Flipper Bump: v0.29.5-SNAPSHOT
Summary: Back to Maven snapshots.

Reviewed By: mweststrate

Differential Revision: D18757711

fbshipit-source-id: 9b876798efa74ec4d1cadd9e0004a2e25f7b7438
2019-12-01 09:58:28 -08:00
Pascal Hartig
23c4dcb1e6 Flipper Release: v0.29.4
Summary: Includes a preview of the JS-only plugin API. This is experimental and might break in future releases.

Reviewed By: mweststrate

Differential Revision: D18757712

fbshipit-source-id: a3c238ffbe3d5d80ca8e750cf5ef89b7a7436c62
2019-12-01 09:58:28 -08:00
Pascal Hartig
ad874d9b38 Flipper Bump: v0.29.4-SNAPSHOT
Summary: backtosnap

Reviewed By: cekkaewnumchai

Differential Revision: D18743448

fbshipit-source-id: 1253a8f85cd5bb4775fef42768fb320bc8bc073a
2019-11-28 03:11:09 -08:00
Pascal Hartig
90c42aff24 Flipper Release: v0.29.3
Summary: Another quick release to trigger our npm update.

Reviewed By: cekkaewnumchai

Differential Revision: D18743449

fbshipit-source-id: 9200fc24aa971082184d6155ad7b2e3465b2fade
2019-11-28 03:11:09 -08:00
Pascal Hartig
32a02f7f99 Flipper Bump: v0.29.3-SNAPSHOT
Summary: flipper_accept

Reviewed By: mweststrate

Differential Revision: D18726532

fbshipit-source-id: 1c1d62233deef9ec12af2cb0d9a619f4b00dd8c1
2019-11-27 08:02:21 -08:00
Pascal Hartig
478aead349 Flipper Release: v0.29.2
Summary: Another bump for npm. Easiest way to test this, unfortunately.

Reviewed By: mweststrate

Differential Revision: D18726533

fbshipit-source-id: 40d241a24ef5c0cdf8656b054280410b5bcda863
2019-11-27 08:02:21 -08:00
Pascal Hartig
f2e880bbeb Flipper Bump: v0.29.2-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: jknoxville

Differential Revision: D18708913

fbshipit-source-id: aeea786811e978c45809711ebec11cc538fb5ffd
2019-11-26 14:42:30 -08:00
Pascal Hartig
0528a5c3c8 Flipper Release: v0.29.1
Summary: Quick "hot-fix" to trigger the npm publish step.

Reviewed By: jknoxville

Differential Revision: D18708914

fbshipit-source-id: 87c6db82d0d248e21e1761b83237d7802d25669c
2019-11-26 14:42:30 -08:00
Pascal Hartig
a64a0cb86b Flipper Bump: v0.29.1-SNAPSHOT
Summary: money_corgi

Reviewed By: jknoxville

Differential Revision: D18689477

fbshipit-source-id: 82eba4b00f52552437eaaa3d73276e8d56e58c29
2019-11-26 05:30:34 -08:00
Pascal Hartig
b4059efc67 Flipper Release: v0.29.0
Summary: Flipper Doctor, package manager updates.

Reviewed By: jknoxville

Differential Revision: D18689478

fbshipit-source-id: 594cfc0cc5490cdc2a98e363185cf3423ba43058
2019-11-26 05:30:34 -08:00
Pascal Hartig
a8680c8df6 Add a note about no-op package
Summary: I hope this will lower the support load for this a little.

Reviewed By: jknoxville

Differential Revision: D18638565

fbshipit-source-id: 57ce7f6855817a49bafab35517cf1e8ef2bc2e1e
2019-11-21 09:23:17 -08:00
Pascal Hartig
4606afd1ee Flipper Bump: v0.28.1-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: jknoxville

Differential Revision: D18453213

fbshipit-source-id: 2f3a2df099e81506695dcf85a8ccaae248128d1a
2019-11-13 05:47:28 -08:00
Pascal Hartig
1784179187 Flipper Release: v0.28.0
Summary:
**Highlights**

- Redesigned sidebar.
- Compatibility with XCode 11.

Full list of changes: https://github.com/facebook/flipper/compare/v0.27.0...master

Reviewed By: jknoxville

Differential Revision: D18453214

fbshipit-source-id: 98012ba81558bce60a5b75815fb0734a0fbf3445
2019-11-13 05:47:27 -08:00
Michel Weststrate
2f5096ddc8 Improve setup documentation
Summary:
Random observations

1. RN already generates the Flipper initialization code out of the box
2. This code assumes a prefixed namespace: `facebook.flipper`. Maybe it would be better if that were `appname`, but that seems an unnecessary burden at this point, preventing direct copy / paste possibilities
3. Out of the box, the generated code by RN doesn't align with the code provided here, because no `ReactInstanceManager` argument is passed in (nor does it seem to be available in a straight-forward way)
4. patch MainApplication.java with `getReactNativeHost().getReactInstanceManager()`
5. turn this into an explicit section: https://fbflipper.com/docs/tutorial/js-table.html#dynamic-plugin-loading. Also explain that when using `node_modules`, config doesn't need to be changed?
6. xcode 10! sudo xcode-select -s /Applications/Xcode_10.XXX/Contents/Developer/
7. Also tried to install Reactotron plugins by Infinite Red, got that compilable in the end, but the andoid / ios implementations still seems to be stub, so I'll try to follow up with them later, to be notified when they actually have something

Reviewed By: passy

Differential Revision: D18349098

fbshipit-source-id: 233bbe20a37c57c7dfe08c8fccdd4508bdefe96f
2019-11-08 04:40:27 -08:00
Pascal Hartig
ce7e13ce54 Flipper Bump: v0.27.1-SNAPSHOT
Summary:
Back to snapshots.

snapchathotdog

Reviewed By: jknoxville

Differential Revision: D18245036

fbshipit-source-id: 2a6f27a1e335e94d3a3e396822a6406fbf3a7b5c
2019-10-31 08:43:32 -07:00
Pascal Hartig
3d31906b95 Flipper Release: v0.27.0
Summary:
**Highlights**

- Sample Android APK now available as download on this very release page.
- Memory usage viewer available for KaiOS devices.

Full changelog: https://github.com/facebook/flipper/compare/v0.26.0...master

Reviewed By: jknoxville

Differential Revision: D18245037

fbshipit-source-id: 0d49012c1ebd11b406a2bf81e5b41e823ced0c05
2019-10-31 08:43:32 -07:00
Jason Safaiyeh
0cd89ba1c4 Fix typos on react-native setup page (#612)
Summary:
Typo in `Podfile` comment
Unnecessary `\` in iOS Setup code

## Changelog
Fixed typos in react-native set up page.
Pull Request resolved: https://github.com/facebook/flipper/pull/612

Test Plan: Just Documentation

Differential Revision: D18223575

Pulled By: passy

fbshipit-source-id: 12c35b4570287d6899769eb0283fb8149fedbeac
2019-10-30 05:50:30 -07:00
Michel Weststrate
494ffd26b3 Introduce support for categorizing plugins
Summary:
This PR introduces the possibility to group plugins in categories.
The category can be determined by setting the `category` field in `package.json`.
Categories are sorted alphabetically.
Categories are shown below all uncategorized items.
Within categories, items are sorted as before: by last recently usage.

Design wise, the category name might now look more prominent than the app name, this is to be addressed in a follow up PR.

Reviewed By: jknoxville

Differential Revision: D18169459

fbshipit-source-id: 77deb0f27a0462a0d449944ddc262396160687a2
2019-10-28 06:21:37 -07:00
Pascal Hartig
14dd792829 Flipper Bump: v0.26.1-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: jknoxville

Differential Revision: D18007368

fbshipit-source-id: a3c95f78e5d03895c89eb1ea5a0b3485b1057a80
2019-10-18 08:29:46 -07:00
Pascal Hartig
15ce3319f1 Flipper Release: v0.26.0
Summary:
**Highlights**

- New settings panel for configuring Android SDK paths and iOS support.
- Support for taking screenshots and recording videos on Windows.
- Copying an element name in the layout inspector now copies the attributes instead of just a numeric identifier.

Full changelog at https://github.com/facebook/flipper/compare/v0.25.0...v0.26.0

Reviewed By: jknoxville

Differential Revision: D18007369

fbshipit-source-id: ad4069da59f5b2b96090a14c17d57d37a0ca64be
2019-10-18 08:29:46 -07:00
Michael Evans
cc19cc75ee Move declaration of required permissions into core lib (#593)
Summary:
If we move the permissions into the library itself, the manifest
merger will take care of adding them to consuming applications,
making setup instructions easier.

## Changelog

Move required permission declarations into flipper-core
Pull Request resolved: https://github.com/facebook/flipper/pull/593

Test Plan:
Using aapt we can dump the permissions of a sample app.
`$ANDROID_HOME/build-tools/29.0.2/aapt d permissions sample-debug.apk `
```
package: com.facebook.flipper.sample
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.ACCESS_WIFI_STATE'
uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
uses-permission: name='android.permission.FOREGROUND_SERVICE
```

Reviewed By: priteshrnandgaonkar

Differential Revision: D18006323

Pulled By: passy

fbshipit-source-id: c4cf28ee698faa3e2b631462f2953976135b299c
2019-10-18 06:43:35 -07:00
Pritesh Nandgaonkar
ab121f9d96 Updated the OpenSSL dependency (#577)
Summary:
This PR updates the openssl dependency with OpenSSL-Universal, which ships a fat-binary of libssl and libcrypto with all the architecture.

This PR also updates the travis to cache cocoapods checkout directory.

## Changelog

Updated Flipper-Folly deps
Pull Request resolved: https://github.com/facebook/flipper/pull/577

Test Plan: CI

Reviewed By: jknoxville

Differential Revision: D17877304

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 9d13308108b6665d4bf5dd6145fcaafa2a2a8a13
2019-10-11 07:54:28 -07:00
Mateo Silguero
ee13541587 react native integration tutorial (#567)
Summary:
Integrate Flipper with React Native, is a bit different than a native app. I wrote this tutorial inspired by nparashuram 's blog. http://blog.nparashuram.com/2019/09/using-flipper-with-react-native.html

## Changelog

Flipper + React Native Documentation
Pull Request resolved: https://github.com/facebook/flipper/pull/567

Reviewed By: jknoxville

Differential Revision: D17809429

Pulled By: passy

fbshipit-source-id: a1172d36775f80f1ac849913cb855390d353ade0
2019-10-08 09:04:48 -07:00
Arnaud Frugier
57e8f8e235 Updating documentation for new version of database plugin
Summary: ^^

Reviewed By: jknoxville

Differential Revision: D17770002

fbshipit-source-id: f2aa1a0fbdea0f2f794261f77dfe2557def2aef0
2019-10-07 08:19:41 -07:00
Pascal Hartig
a3f7e6aa59 Make documentation xplat aware (#572)
Summary:
Update the docs to include Windows and Linux.
Pull Request resolved: https://github.com/facebook/flipper/pull/572

Test Plan: eyes

Reviewed By: jknoxville

Differential Revision: D17738803

Pulled By: passy

fbshipit-source-id: 8e556fb6b3e57de6f3334286e83a59a48dbdd982
2019-10-04 08:17:46 -07:00
Bartol Karuza
b3a98dc5e5 chore(docs): typo (#566)
Summary:
## Changelog
Pull Request resolved: https://github.com/facebook/flipper/pull/566

Differential Revision: D17737731

Pulled By: passy

fbshipit-source-id: f2aac8d7b256b3d2849942c42581046944bc11c9
2019-10-03 06:57:26 -07:00
Pascal Hartig
9bce894b71 Add publishing/installing docs
Summary:
Adding publishing and installation procedure docs to
our tutorial to round things off.

Reviewed By: jknoxville

Differential Revision: D17711800

fbshipit-source-id: 57c848c559208eb2a0ca790a72bcd493730baf16
2019-10-02 08:56:38 -07:00
Mateo Silguero
4ec8ffcf53 Update images-plugin.md (#562)
Summary:
the name of the plugin into documentation is not correct.

## Changelog

chore: plugin-name
Pull Request resolved: https://github.com/facebook/flipper/pull/562

Differential Revision: D17709629

Pulled By: passy

fbshipit-source-id: ce6233ce9cac67c42b0501bd969c46114d74365a
2019-10-02 01:51:45 -07:00
Mateo Silguero
4c3028bd91 Update databases-plugin.md (#564)
Summary:
## Changelog
Pull Request resolved: https://github.com/facebook/flipper/pull/564

Differential Revision: D17709625

Pulled By: passy

fbshipit-source-id: fe62f8958872893b04e12527ef338b6140a82a68
2019-10-02 01:46:41 -07:00
Pascal Hartig
48161cb6cf Flipper Bump: v0.25.1-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: priteshrnandgaonkar

Differential Revision: D17601073

fbshipit-source-id: 4987f717d34ecd13577f06e39fff86419346bad6
2019-09-26 11:05:37 -07:00
Pascal Hartig
2e3499cd4a Flipper Release: v0.25.0
Summary:
**Highlights**

- Android: Leakcanary is no longer part of the core distribution but a separate artifact: `com.facebook.flipper:flipper-leakcanary-plugin`.

Reviewed By: priteshrnandgaonkar

Differential Revision: D17601074

fbshipit-source-id: 862fc44d45b4ddc95059deb3959476af162b1cb0
2019-09-26 11:05:37 -07:00
Pascal Hartig
12f766a080 Mention leakcanary plugin artifact in docs
Summary: Per title.

Reviewed By: danielbuechele

Differential Revision: D17571218

fbshipit-source-id: 35f0f2d90cd8582200d6a50127c43a38f823aba2
2019-09-26 06:44:18 -07:00