trackingAuthorizationStatus property

Future<TBLTrackingStatus> get trackingAuthorizationStatus

keep asking for the tracking status until the user grants or denies the tracking, we store the value once the user answers the ATT dialog this way we don't have to ask for the tracking status again. if the user go the settings and changed the tracking status the app will closed and new session will be created

Implementation

Future<TBLTrackingStatus> get trackingAuthorizationStatus async {
  if (_trackingStatus != TBLTrackingStatus.notDetermined) {
    return _trackingStatus;
  }
  trackingStatus = await TBLSdkPlugin.getTrackingStatus();
  return _trackingStatus;
}