最近の検索


最近の検索はありません

Amogh's Avatar

Amogh

参加日2021年10月16日

·

前回のアクティビティ2021年10月22日

フォロー中

0

フォロワー

0

合計アクティビティ

6

投票

1

サブスクリプション

1

アクティビティの概要

さんの最近のアクティビティ Amogh

Amoghさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk SDKs

Hey Eric,

Sure, please create a ticket for this.

Here is the google drive link to a sample app project which essentially has only the Zendesk initialisation and showing the zendesk messaging controller - link

Let me know your findings.

Thank you,

Amogh

コメントを表示 · 投稿日時:2021年7月23日 · Amogh

0

フォロワー

0

投票

0

コメント


Amoghさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk SDKs

Hey @..., any further update on this? This is kind of a bummer, and blocking a release for us.

コメントを表示 · 投稿日時:2021年7月23日 · Amogh

0

フォロワー

0

投票

0

コメント


Amoghさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk SDKs

Hey Eric,

Thank you for the reply.

Here is the code :

 

AppDelegate.m

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

{

       NSString *zendeskChannelKey = @"___REDACTED____";

       [ZDKMessaging initializeWithChannelKey:zendeskChannelKey completionHandler:^(ZDKMessaging * _Nullable messaging, NSError * _Nullable error) {
    NSLog(@"init complete");
  }];

}

 

And this is in one of the methods in ViewController.m

dispatch_async(dispatch_get_main_queue(), ^{

      UIViewController *viewController = [ZDKMessaging.instance messagingViewController];

      viewController.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle: @"Close"

       style: UIBarButtonItemStylePlain

      target: self

      action: @selector(dismiss)];

      UIViewController *rooterController = [UIApplication sharedApplication].keyWindow.rootViewController;

      nav = [[UINavigationController alloc] initWithRootViewController:viewController];

      urlPressed = callback;

      UIBarButtonItem *backItem = [UIBarButtonItem alloc];

      [backItem setTitle:@"Back"];

      [[nav navigationItem] setBackBarButtonItem:backItem];

      ZDKMessaging.delegate = self;

      [rooterController presentViewController:nav animated:YES completion:^{

        RCTLog(@"in blocks");}];
    });
- (void) dismiss {

  [nav dismissViewControllerAnimated:YES completion:nil];

}

コメントを表示 · 投稿日時:2021年7月21日 · Amogh

0

フォロワー

0

投票

0

コメント


Amoghさんが投稿を作成しました:

投稿 Developer - Zendesk SDKs

Hey Team,

I am currently integrating the iOS Messaging Zendesk SDK by initialising the SDK with the channel key and launching the ZDKMessaging.instance.messagingViewController on successful initialisation.

I am running into an issue there - The zendesk chat opens up with previous message history and flows ONLY on the first launch of the zendesk viewcontroller instance.

If I close the zendesk chat, and re-open it, I see the zendesk chat view controller with a no previous messages. I can type the message in the input field at the bottom, however, once I hit send, the message isn't seen in the chat window.

 

Here is the attached screenshot of how the blank zendesk chat view controller is seen on the second instance.

投稿日時:2021年7月20日 · Amogh

1

フォロワー

8

投票

13

コメント