@@ -25,8 +25,8 @@ import { IterableLogger } from './IterableLogger';
2525const RNIterableAPI = NativeModules . RNIterableAPI ;
2626const RNEventEmitter = new NativeEventEmitter ( RNIterableAPI ) ;
2727
28+ /* eslint-disable tsdoc/syntax */
2829/**
29- * @hideconstructor
3030 * The main class for the Iterable React Native SDK.
3131 *
3232 * The majority of the high-level functionality can be accomplished through the
@@ -42,6 +42,7 @@ const RNEventEmitter = new NativeEventEmitter(RNIterableAPI);
4242 * // OR
4343 * Iterable.setUserId('myUserId');
4444 */
45+ /* eslint-enable tsdoc/syntax */
4546export class Iterable {
4647 /**
4748 * Manager for in app messages
@@ -225,7 +226,7 @@ export class Iterable {
225226 * ## Registering device token:
226227 *
227228 * If `IterableConfig.autoPushRegisteration` is set to `true`, calling
228- * setUserI`d automatically registers the device for push notifications and
229+ * `setUserId` automatically registers the device for push notifications and
229230 * sends the `deviceId` and token to Iterable.
230231 *
231232 * ## Optional JWT token parameter:
@@ -745,8 +746,8 @@ export class Iterable {
745746 /**
746747 * tsdoc/syntax needs to be disabled as it conflicts with the mermaid syntax.
747748 * unfortunately, disabling it inline does not appear to work.
748- * eslint-disable tsdoc/syntax
749749 */
750+ /* eslint-disable tsdoc/syntax */
750751 /**
751752 * Handle a universal link.
752753 *
@@ -819,6 +820,7 @@ export class Iterable {
819820 * }
820821 * ```
821822 */
823+ /* eslint-enable tsdoc/syntax */
822824 static handleAppLink ( link : string ) : Promise < boolean > {
823825 Iterable . logger . log ( 'handleAppLink' ) ;
824826
@@ -941,8 +943,7 @@ export class Iterable {
941943 IterableEventName . handleInAppCalled ,
942944 ( messageDict ) => {
943945 const message = IterableInAppMessage . fromDict ( messageDict ) ;
944- // TODO: Check if we can use chain operator (?.) here instead
945-
946+ // MOB-10423: Check if we can use chain operator (?.) here instead
946947 const result = Iterable . savedConfig . inAppHandler ! ( message ) ;
947948 RNIterableAPI . setInAppShowResponse ( result ) ;
948949 }
@@ -952,7 +953,7 @@ export class Iterable {
952953 if ( Iterable . savedConfig . authHandler ) {
953954 let authResponseCallback : IterableAuthResponseResult ;
954955 RNEventEmitter . addListener ( IterableEventName . handleAuthCalled , ( ) => {
955- // TODO : Check if we can use chain operator (?.) here instead
956+ // MOB-10423 : Check if we can use chain operator (?.) here instead
956957
957958 Iterable . savedConfig . authHandler ! ( )
958959 . then ( ( promiseResult ) => {
@@ -1008,7 +1009,7 @@ export class Iterable {
10081009 }
10091010
10101011 function callUrlHandler ( url : string , context : IterableActionContext ) {
1011- // TODO : Figure out if this is purposeful
1012+ // MOB-10424 : Figure out if this is purposeful
10121013 // eslint-disable-next-line eqeqeq
10131014 if ( Iterable . savedConfig . urlHandler ?.( url , context ) == false ) {
10141015 Linking . canOpenURL ( url )
@@ -1027,7 +1028,7 @@ export class Iterable {
10271028 /**
10281029 * Retrieves the version number from the package.json file.
10291030 *
1030- * @returns { string } The version number as specified in the package.json file.
1031+ * @returns The version number as specified in the package.json file.
10311032 *
10321033 * @internal
10331034 */
0 commit comments