- 3.0.0 and master18.104.22.168.04.2
- 3.0.0 and masteriOSmacOS(Intel)macOS(ARM)LinuxtvOSwatchOS
Intercepting actions and state changes and sending them to FluxorExplorer
To get started with FluxorExplorerInterceptor, just register an instance of it on the Store in an app.
The only thing needed, for FluxorExplorer to receive all actions and state changes from an app, is to register the
FluxorExplorerStoreInterceptor 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: FluxorExplorerStoreInterceptor(displayName: UIDevice.current.name)) #endif
NOTE: It is recommended to only register the interceptor in