Commit Graph

319 Commits

Author SHA1 Message Date
Nathan Schneider
a0d33a99e5 Updated crash-reporter-plugin.md (#371)
Summary:
Fixed a spelling error in line 6.
Pull Request resolved: https://github.com/facebook/flipper/pull/371

Reviewed By: passy

Differential Revision: D14064606

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 51535362477712500c3138d1e7a688cdda8e3793
2019-02-13 07:51:49 -08:00
Pritesh Nandgaonkar
5aff7cf0f1 Flipper Bump: v0.15.1-SNAPSHOT
Summary: As per the title

Reviewed By: passy

Differential Revision: D13880664

fbshipit-source-id: 37a130301db6bdd8e4ad6b5f7f1b6419678e35b6
2019-01-31 04:03:48 -08:00
Pritesh Nandgaonkar
ca797999eb Flipper Release: v0.15.0
Summary:
- Added build-headless yarn target for producing a headless binary
- Crash Reporter plugin added. Details [here](https://fbflipper.com/docs/crash-reporter-plugin.html).
- Bug fixes and dependency updates

- Desktop notifications for all kinds of crashes with their callstack
- Desktop notifications when an exception occurs within [Litho's error boundaries](https://fblitho.com/docs/error-boundaries)
- Ability to deeplink to the crash entry in the Logs plugin for Android. This feature is not available in iOS as the callstack doesn't get logged through Flipper's Logs plugin
- Ability to copy the stacktrace by right-clicking it
- Ability to see the list of crashes in the Notifications hub

Reviewed By: passy

Differential Revision: D13880665

fbshipit-source-id: 92a3455bb826b6fb22858e2c4c88c0b9ace91a5f
2019-01-31 04:03:48 -08:00
Lawrence Lomax
5b2f100943 Use shell - su chaining for 1-command of flipper.port
Summary: Makes the command easier as this is a one-liner

Reviewed By: passy

Differential Revision: D13878049

fbshipit-source-id: 99477939e51524234ae06c42687ae3a2db31211e
2019-01-31 03:49:53 -08:00
John Knox
a8fc858d4d Add custom ports to documentation
Summary:
Added instructions on using custom ports.

We probably want to put the headless instructions here too when they're ready.

Reviewed By: danielbuechele

Differential Revision: D13860469

fbshipit-source-id: 76537a36e6fc85e805a29830927e4d59ee4f73e8
2019-01-29 09:08:05 -08:00
Riyaz Mohammed Ibrahim
e558d8a01a Added instruction to add RecordLeakService in manifest (#360)
Summary:
Missing instructions to add RecordLeakService in manifest, missing this will crash the app.
Pull Request resolved: https://github.com/facebook/flipper/pull/360

Differential Revision: D13817454

Pulled By: passy

fbshipit-source-id: 5466ba1117510ffe0b2033b6b0913125fda08983
2019-01-25 05:26:31 -08:00
Pascal Hartig
fb2edd3ad3 Flipper Bump: v0.14.3-SNAPSHOT
Summary: Per title.

Reviewed By: jknoxville

Differential Revision: D13801788

fbshipit-source-id: 0bebeb8b68f2f433056a2cdfee28b2121fb4e03b
2019-01-25 03:27:32 -08:00
Pascal Hartig
993c8532df Flipper Release: v0.14.2
Summary: Patch release.

Reviewed By: jknoxville

Differential Revision: D13801789

fbshipit-source-id: f325b7b99de7bc573f728a94598cf2383cf217c2
2019-01-25 03:27:32 -08:00
David McRae
a70f47cb0e Document using Flipper with use_frameworks! (#347)
Summary:
Add Podfile documentation so that projects that use `use_frameworks!` have a way to import Flipper into their project
Pull Request resolved: https://github.com/facebook/flipper/pull/347

Reviewed By: passy

Differential Revision: D13761700

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 36d8a5d590b96203ac30fd5d0ca32cae4f194024
2019-01-24 03:32:31 -08:00
Pascal Hartig
14e7e04b3b v0.14.2-SNAPSHOT
Summary: Re-enable snapshot releases.

Reviewed By: jknoxville

Differential Revision: D13760747

fbshipit-source-id: 6b8e92258710a33265b416cd17d32f7e2b8f2dd5
2019-01-22 07:33:35 -08:00
Riyaz Mohammed Ibrahim
718403893e Typo in soloader version (#358)
Summary:
debugImplementation 'com.facebook.flipper:soloader:0.5.1'

to

debugImplementation 'com.facebook.soloader:soloader:0.5.1'
Pull Request resolved: https://github.com/facebook/flipper/pull/358

Differential Revision: D13750173

Pulled By: passy

fbshipit-source-id: 44961df191dfcda8f7e8fd6fbc1589378d772a57
2019-01-21 03:04:01 -08:00
Arne Stockmans
e71804fe9e Fix soloader gradle dependency (#354)
Summary:
The gradle dependency on soloader was using a wrong groupId (flipper instead of soloader)
Pull Request resolved: https://github.com/facebook/flipper/pull/354

Differential Revision: D13671271

Pulled By: passy

fbshipit-source-id: b03a77199bb14601fb6a3a1f21e8c404d0072104
2019-01-15 07:52:25 -08:00
Pritesh Nandgaonkar
b8c9597b07 Flipper Release: v0.14.1
Summary:
- Refactored [Crash Reporter Plugin's](https://fbflipper.com/docs/crash-reporter-plugin.html) android implementation to show the crash notification for all kind of crashes. It sniffs the logcat and fires notification whenever crash happens.
- "Plugin not showing?" in the plugin list now supports more cases for telling you what went wrong.
- Plugins are now sorted by name.

Reviewed By: jknoxville

Differential Revision: D13650988

fbshipit-source-id: 8b4861befa962162dea84a1394ea2829b88ab4c9
2019-01-14 07:26:45 -08:00
Pascal Hartig
36b109ecc6 v0.14.1-SNAPSHOT
Summary: Bump to reenable snapshots for Android.

Reviewed By: danielbuechele

Differential Revision: D13607376

fbshipit-source-id: a368f82c8514f06cb61fe6b6decafcbf6e4d0ec7
2019-01-09 06:19:30 -08:00
Pascal Hartig
dc908928f0 Flipper Release: v0.14.0
Summary:
- New [Crash Reporter Plugin](https://fbflipper.com/docs/crash-reporter-plugin.html).
- "Where is my plugin?" screen can show you why a plugin wasn't loaded.
- New reusable components for StackTrace and MarkerTimeline.
- Support for remote Android devices when connected with adb.

- Avoid indexing 0s videos on Android when recording screencaps. (7471dc6481)
- Fix emulator launching on Linux. (7471dc6481)
- Several fixes to the certificate negotiation process.

Reviewed By: priteshrnandgaonkar

Differential Revision: D13589524

fbshipit-source-id: 3bc0b2ff4d7802b0b767bb5fc55046a84e4a3ec8
2019-01-07 09:44:20 -08:00
Justin Tuchek
2c6d126f05 Update sonar references in sandbox plugin docs (#349)
Summary:
Was experimenting with Flipper for the first time - while copying snippets over realized the classes don't exist anymore. Just wanted to contribute.

Update class names and import paths for sandbox plugin snippet.
Pull Request resolved: https://github.com/facebook/flipper/pull/349

Differential Revision: D13590256

Pulled By: passy

fbshipit-source-id: f6802276d40d7a76e15b5aad7bb86cda34c85e12
2019-01-07 08:52:12 -08:00
Pascal Hartig
5173b22760 Mention explicit dependency on soloader (#351)
Summary:
Fixes #350
Pull Request resolved: https://github.com/facebook/flipper/pull/351

Reviewed By: danielbuechele

Differential Revision: D13572357

Pulled By: passy

fbshipit-source-id: 52630614d5e1c62b3c2263cc52bedaa4b55a3f41
2019-01-07 03:33:26 -08:00
Pritesh Nandgaonkar
da37ab78bd Docs with an updated install instruction (#343)
Summary:
This PR updates the installation instruction. It missed few crucial information and thus the projects installing flipper as a dependency were facing issues. It addresses the issue #341. It also brings the sample application at par with the documentation.
Pull Request resolved: https://github.com/facebook/flipper/pull/343

Reviewed By: danielbuechele

Differential Revision: D13507298

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 5a4b23d79930cb7eeb491e359b616d3558e260fb
2018-12-21 07:40:57 -08:00
Pritesh Nandgaonkar
9ec04d33e2 Back out "Revert D13434177: [Docs] Updated the website docs with the information of crash reporter plugin"
Summary:
Original commit changeset: 36e501b0ca70

The original diff was reverted because the sheriff thought that my diff broke the flipper test but it was not the case.Thus putting it back

Reviewed By: passy

Differential Revision: D13495123

fbshipit-source-id: 7e72dafe967236b968baf9d4741b3673f46a27cb
2018-12-20 06:05:25 -08:00
Daniel Büchele
ea54b6d4ca adding docs for new package.json fields
Summary: as per title

Reviewed By: priteshrnandgaonkar

Differential Revision: D13432418

fbshipit-source-id: fd96d7ea54127d1256f3c0b147e19338be8e7b72
2018-12-18 16:28:08 -08:00
Mike Kelley
a1541b1c81 Revert D13434177: [Docs] Updated the website docs with the information of crash reporter plugin
Differential Revision:
D13434177

Original commit changeset: bb8b14e989c9

fbshipit-source-id: 36e501b0ca7031956b57c93429084a7bc673ef77
2018-12-17 11:08:29 -08:00
Pritesh Nandgaonkar
1bc566f813 Updated the website docs with the information of crash reporter plugin
Summary: Added the documentation of crash reporter plugin. Also removed the stale comment

Reviewed By: passy

Differential Revision: D13434177

fbshipit-source-id: bb8b14e989c91b35cd268daea12ac7fe590c5d5b
2018-12-17 11:08:28 -08:00
Pascal Hartig
f5e5c33c68 Flipper Release: v0.13.0
Summary:
- Crash reporter plugin: Get notified for crashes in Android and iOS apps. Currently in Alpha and not enabled by default.
- Support for physical iOS devices.

- `yarn start` in open source works again (54d09aa951)
- Prevent unnecessary UI rerenders (133788380e)
- Fixes a problem on macOS where external plugin from `pluginPaths` config weren't loaded  (f7ddf3b496)
- Various improvements for certificate exchange and device connections.

Full changes here: 19485d076b...c6e0517640

Reviewed By: danielbuechele, priteshrnandgaonkar

Differential Revision: D13431074

fbshipit-source-id: ef2087742911e4c5ee98af1941bc7db5cfe75578
2018-12-12 07:28:56 -08:00
Pascal Hartig
dfd2e279bc Update getPlugin docs
Summary: Per title.

Reviewed By: jknoxville

Differential Revision: D13304655

fbshipit-source-id: 8f9e78dbee043e749b1fdd2d4a540eeece66734b
2018-12-05 08:03:41 -08:00
Daniel Büchele
98110bc230 update wording for dynamic plugin loading
Summary: as per title

Reviewed By: passy

Differential Revision: D13301525

fbshipit-source-id: 693d067895f6600ce041a9ced445c763bc0a90a1
2018-12-03 10:59:37 -08:00
John Knox
b635b7e4aa Add date and time check to troubleshooting docs (#336)
Summary:
Flipper uses SSL between device and computer.  If, for example, the time on the mobile device is outdated. The server cert on desktop may appear to be from the future, leading to the connection being rejected.
Pull Request resolved: https://github.com/facebook/flipper/pull/336

Reviewed By: danielbuechele

Differential Revision: D13234612

Pulled By: jknoxville

fbshipit-source-id: 5eccc3abc763deb5bce3520d880a522a9a32ec86
2018-11-29 09:07:02 -08:00
Pascal Hartig
19485d076b Flipper Release: v0.12.0
Summary:
- Docs for UI components are now automatically published: https://fbflipper.com/docs/ui-components.html
- Stop caching source files in dev mode: ad98ba3235
- `createTablePlugin` now uses persisted State: db42e8e970
- HTML in network responses now gets formatted: a56d7d5d72
- Notification filters are persisted between sessions: 9fb3a56303
- Prevent Flipper SDK crashes from bringing down Android apps: ddbb3c7f89
- Fix Android devices from not showing up: a6765deec6

Full commit log since the last release available here: https://github.com/facebook/flipper/compare/v0.11.1...v0.12.0

Reviewed By: jknoxville

Differential Revision: D13153344

fbshipit-source-id: e67e2ac9469b2a5ef58d1963a38b1c8f448bd4fb
2018-11-23 16:58:39 -08:00
Felix Krause
01ef5c84d2 Fix Ruby Podfile code style in docs (#324)
Summary:
2 spaces, and space before and after the `+`
Pull Request resolved: https://github.com/facebook/flipper/pull/324

Reviewed By: jknoxville

Differential Revision: D13082547

Pulled By: priteshrnandgaonkar

fbshipit-source-id: b6053ebde16a1f7f953704e0791622d3d59cc962
2018-11-15 06:24:32 -08:00
Fabio Milano
9ee10392e1 Fixed missing code block container
Summary: A missing code block closing back tick cause the documentation's layout to be incorrect.

Reviewed By: jknoxville

Differential Revision: D12948908

fbshipit-source-id: 8e9496d2bac81a49b39aed3a2c97ff6a20c71241
2018-11-07 05:19:22 -08:00
Daniel Büchele
640dee6645 auto generated UI docs
Summary:
Using `react-docgen` to automatically generate docs for our UI components.
React-docgen parses the files in `components/ui` and using comments and flowtypes to generate structured information about the UI components.

For higher-order-components `react-docgen` is not able to get the information. As we are using HOC often as part of emotion's styled-components, I added a custom parser for HOCs. Using babel/parser I am parsing the components and using their doc-comments to generate the structured description.

Then, the description generated by react-docgen and my custom parser is used to generate markdown which is added to the `ui-components.md` file of our docs.

Plus: Added some styling around the documentation of props, mostly table styles.

Reviewed By: jknoxville

Differential Revision: D12896110

fbshipit-source-id: 1337c924c06e10a5d3aa752579428fd2cc7b4743
2018-11-05 03:12:23 -08:00
Pascal Hartig
870f6017ab Flipper Release: v0.11.1
Summary: Fixes Apple dependencies and QPL plugin, changes build to fail on error.

Reviewed By: jknoxville

Differential Revision: D12905241

fbshipit-source-id: 339ca920f958cdc36c4339976d11b2b50380e861
2018-11-03 06:26:51 -07:00
Pascal Hartig
d54fb3a21a Flipper Release: v0.11.0
Summary: Including a fix for OkHttp issues, contributed by NightlyNexus: https://github.com/facebook/flipper/pull/313

Reviewed By: jknoxville

Differential Revision: D12883196

fbshipit-source-id: e17b43b33694f46a2bd949eafc008a772777f83e
2018-11-02 06:57:47 -07:00
Daniel Büchele
1f84a6244c update persistedStateReducer API
Summary:
upadting to the new API:
```
static persistedStateReducer: ?(
  persistedState: P,
  method: string,
  data: Object,
) => $Shape<P>;
```

Reviewed By: jknoxville

Differential Revision: D10466918

fbshipit-source-id: 08ba963c6ae744d8d445e375c41f601e9bafd4da
2018-10-19 09:59:41 -07:00
Pascal Hartig
881d066369 Flipper Release: v0.10.0
Summary: Featuring the new notification API. 🛎🎉

Reviewed By: jknoxville

Differential Revision: D10466460

fbshipit-source-id: 11a5bf9b83844bc623acd2dd9d7504dea2b61018
2018-10-19 09:25:28 -07:00
Daniel Büchele
1904cc3521 Docs for notifications
Summary: as per title

Reviewed By: passy

Differential Revision: D10449043

fbshipit-source-id: 70fac302f9c5ebc4d7ca9950aa8fab1c3e71006e
2018-10-19 08:35:19 -07:00
Pritesh Nandgaonkar
603c4c5fbc Layout Plugin support for swift (#295)
Summary:
Changed the podspec file to expose only those header files in public which are necessary. The exposed public header files have no c++ in it, thus due to this layout plugin now works for swift too.

Fixes #174

![ezgif com-video-to-gif](https://user-images.githubusercontent.com/3865908/46979109-9c5a4b80-d0c8-11e8-8f86-639dfba51efe.gif)
Pull Request resolved: https://github.com/facebook/flipper/pull/295

Reviewed By: passy

Differential Revision: D10389202

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 0ecc428f8008dd3aac48a675a8b97bb610f8e9eb
2018-10-16 08:37:57 -07:00
Pritesh Nandgaonkar
b367e38050 Flipper Release: v0.9.0
Summary: New Flipper Release: v0.9.0

Reviewed By: passy

Differential Revision: D10378915

fbshipit-source-id: 90e0c4fe7a7fb690f68afddc7781ff0c5bd35d15
2018-10-15 11:37:29 -07:00
Pritesh Nandgaonkar
9c96ab1565 Documentation for background plugin
Summary: Documentation for background plugin

Reviewed By: passy

Differential Revision: D10378898

fbshipit-source-id: 42f23b9464c41ee2f329301233c1e01d0ae05e95
2018-10-15 11:37:29 -07:00
Pascal Hartig
e58961e184 Use compileOnly dependency (#294)
Summary:
Fixes #293.
Pull Request resolved: https://github.com/facebook/flipper/pull/294

Reviewed By: danielbuechele

Differential Revision: D10367678

Pulled By: passy

fbshipit-source-id: 69ccdc470b20d5d43e1bb3c1eb4e52c2e01debb5
2018-10-15 03:11:37 -07:00
Marc Terns
c7ad49a9eb Integrating NSUserDefaults plugin to iOS (#291)
Summary:
I have a few details left, but its almost done. This PR addresses #145

- The NSUserDefaults plugin uses the SharedPreferences Desktop Part since we can reuse all of it.
- The NSUserDefaults plugin uses swizzling in order to be notified of what specific event changed at runtime.
- Added Test harness in both Sample Swift and Sample apps for iOS in order to test the plugin.
- Updated the documentation in `docs/shared-preferences-plugin.md` and` README.md`

I am open to suggestions since the desktop sharedPreferences version doesn't support deletion of preferences. Most likely I would have to modify the UI, and for that matter, I might as well build a user defaults desktop version

I wanted to add xiphirx in this MR since he developed the shared preferences plugin for Android and Desktop. I don't see a way to remove preferences from the flipper desktop app so I was wondering if you would be OK with me adding that.
Pull Request resolved: https://github.com/facebook/flipper/pull/291

Reviewed By: passy

Differential Revision: D10334685

Pulled By: priteshrnandgaonkar

fbshipit-source-id: d798c01a46df7ddecf713924799f046b560ea922
2018-10-12 04:09:29 -07:00
Pascal Hartig
b6445bb961 Update sonar reference in docs
Summary: Per title.

Reviewed By: danielbuechele

Differential Revision: D10114928

fbshipit-source-id: 80515b6df06939df3076fd75974cd9a044bce58b
2018-10-02 07:12:50 -07:00
Pascal Hartig
184d952a61 Update send-data Flipper references
Summary: Sonar -> Flipper

Reviewed By: danielbuechele

Differential Revision: D10114910

fbshipit-source-id: 28f5d6ac7a71ae645872adda820feea6adb21f73
2018-10-01 02:29:34 -07:00
Daniel Büchele
9d2713cdc0 docs update
Summary: update docs to match new styling API and rename from Sonar to Flipper.

Reviewed By: passy

Differential Revision: D10107270

fbshipit-source-id: 75d7a06c88795aa1d3dce8f135f3a9c21d5d038d
2018-09-28 10:42:22 -07:00
Pascal Hartig
fe0d1909cf Flipper Release: v0.8.1
Summary: Patch release to fix Android native library crashes.

Reviewed By: jknoxville

Differential Revision: D10084446

fbshipit-source-id: d40c47f91aa88d7a60b2d355ebdc7c14ffa77bbf
2018-09-27 08:27:08 -07:00
Pritesh Nandgaonkar
7e296467d2 Flipper Release: v0.8.0
Summary: New 0.8.0 release which includes name changes from sonar to flipper.

Reviewed By: passy, danielbuechele

Differential Revision: D10050160

fbshipit-source-id: 5394ea0d032cea39f40cc9ed8e0f054e506d4f04
2018-09-26 06:59:09 -07:00
Pritesh Nandgaonkar
3699a0667a Rename sonar to flipper in the docs
Summary: Sonar->Flipper

Reviewed By: passy

Differential Revision: D10032191

fbshipit-source-id: 5e5230a02e34b9d1c7c355701daef984dc779f35
2018-09-26 04:13:22 -07:00
Pascal Hartig
632628e630 Update name references in java docs
Summary: Per title. Tried to only update the things I touched myself.

Reviewed By: jknoxville

Differential Revision: D10028023

fbshipit-source-id: 09b56ea9d19caa277a107e4ea970d3ebb28b2165
2018-09-25 08:58:15 -07:00
John Knox
c4d12c21d9 Rename Mock classes
Summary: Part of sonar to flipper rename

Reviewed By: priteshrnandgaonkar

Differential Revision: D9929102

fbshipit-source-id: 88cdbd33aa5c76e386449f54f4eb8c6435865ed1
2018-09-24 07:00:45 -07:00
Pascal Hartig
c7f6893cb4 Rename network plugin
Summary: Sonar -> Flipper. Class names only for now.

Reviewed By: priteshrnandgaonkar

Differential Revision: D9991029

fbshipit-source-id: b96dbab7acc89586c1ee67b64bef1c9490b560b5
2018-09-22 16:43:26 -07:00
Pascal Hartig
52fb0fc1b8 Rename LithoFlipperDescriptors
Summary:
As titled.
The controller you requested could not be found.

Reviewed By: priteshrnandgaonkar

Differential Revision: D9990862

fbshipit-source-id: 459420adf400fd4504035fc36b14c5595f431f6a
2018-09-22 09:38:43 -07:00