目录
目录README.md

FluxorExplorerInterceptor

An Interceptor to register on a Fluxor Store. When registered it will send FluxorExplorerSnapshots to FluxorExplorer.

Swift version Platforms

Test Maintainability Test Coverage Twitter

⚙️ Usage

For FluxorExplorer to receive all actions and state changes from an app, just register the FluxorExplorerInterceptor in the app’s Fluxor Store. When FluxorExplorer and the app are running on the same network (eg. running the app on the iOS Simulator), they will automatically connect and transmit data.

let store = Store(initialState: AppState())
#if DEBUG
store.register(interceptor: FluxorExplorerInterceptor(displayName: UIDevice.current.name))
#endif

NOTE: It is recommended to only register the interceptor in DEBUG builds.

When developing with macOS App Sandbox

If the app is running on macOS and uses the App Sandbox, remember to enable the “Incoming Connections (Server)” and “Outgoing Connections (Client)”, to be able to communicate with FluxorExplorer.

关于
69.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号