Repository navigation
19.5.0
The key Gleap.initialize takes is now called Project ID (formerly "SDK key" / "API key"). The value is the same and every existing key keeps working; nothing needs to change in your app.
New: Gleap.initialize(projectId: 'YOUR_PROJECT_ID'). token: keeps working and is marked @Deprecated. The Project ID is in the Gleap dashboard under Settings → Project → General. The plugin passes it to the native initializeWithProjectId: (iOS, falling back to initializeWithToken: on older native SDKs) and Gleap.initialize(String, Application) (Android), and to Gleap.initialize(projectId) of the JavaScript SDK on web.
Fix: setUserJwtProvider now installs the method channel handler itself, so the provider answers the native SDK's token requests even when the Dart initialize has not run in this engine (the SDK was initialized natively, or after a hot restart). Setting the provider before or after initialize both work.
With the native SDKs 19.5.0, the setUserJwtProvider provider also restores the signed session after an app restart.
Updated native iOS dependency to 19.5.0
Updated native Android dependency to 19.5.0