Initialize Finotes
You need to call the Initialize function in your ExtensionDelegate class.
ExtensionDelegate Class:
- Objective C
- Swift
#import <FinotesWatch/Fn.h>
- (void)applicationDidFinishLaunching {
[Fn initialize:self];
}
import FinotesWatch
func applicationDidFinishLaunching() {
Fn.initialize(self)
}
Testing Integration
Now that the basic integration of Finotes framework is complete, let us make sure that the dashboard and framework are in sync.
Step One - Add Test API
Add test API after Initialize call.
ExtensionDelegate Class:
- Objective C
- Swift
#import <FinotesWatch/Fn.h>
- (void)applicationDidFinishLaunching {
[Fn initialize:self];
[Fn test];
}
import FinotesWatch
func applicationDidFinishLaunching() {
Fn.initialize(self)
Fn.test()
}
Step Two - Run the app
Now run the application in a simulator or real watchOS device (with an active network connection).
Step Three - Finally
Once the application opens up, open Finotes dash.
The test issue that we raised should be reported.
In case the issue is not listed, make sure the right app and platform is selected at the top of the dashboard. If the issue is still not synced in Finotes dashboard, Click Here.
Make sure to remove the test API, else every time the app is run, a test issue will be reported.
Now, SDK will report all memory leaks, abnormal memory usages, UI thread block issues and crashes (crash reporting will be activated only in release builds) if they occur in your application.