Giter Club home page Giter Club logo

salesiq-mobilisten-ios's Introduction

Platform SupportedLanguages Version Cocoapods CDI

SalesIQ Mobilisten iOS SDK 8.1.3

Connect with customers at every step of their journey. Give them the best in-app live chat experience with Mobilisten. Mobilisten enables customers to reach you from any screen on your app, get their questions answered, and make better purchase decisions.

Installation using Cocoapods

You can integrate Mobilisten in your application using Cocoapods using the Mobilisten pod. Here is an example Podfile where Mobilisten is included.

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target 'Project Target' do
  use_frameworks!
  pod 'Mobilisten', '8.1.3'
end

After Mobilisten is added to your Podfile, run the pod install command to complete the Installation.

Installation using Swift Package Manager

You can now integrate Mobilisten with your app using SPM 🎉 Learn More

Manual Installation

You can find our manual integration guide here

Getting Started

Mobilisten comes with a set of highly configurable APIs to suit your needs. Register your app's Bundle ID via the SalesIQ Console to generate the App and Access keys for Mobilisten.

Initializing Mobilisten

Use the ZohoSalesIQ.initWithAppKey(:accessKey:completion:) API to initialize Mobilisten.

ZohoSalesIQ.initWithAppKey("app_key", accessKey: "access_key") { _ in
    // your code goes here
}

API Documentation

You can find the list of all APIs and their documentation here under the API Reference section

salesiq-mobilisten-ios's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

salesiq-mobilisten-ios's Issues

Issue: Urgent: Production App Crash Issue

Description
Our production app is crashing for users, and we're unable to reproduce it internally. I've attached the crash logs file below for your immediate attention. Please investigate and resolve this issue urgently.

To Reproduce
Not able to reproduce

Expected behavior
The app should not crash

Screenshots
N/A

Smartphone:

  • Do you usually run the project on the simulator or a physical device? : physical device
  • Device: iPhone 12 Pro
  • OS: iOS 17.3.1
  • Xcode: 15.3
  • Mobilisten Version: 8.0.0

Additional context
Sharing crash log file
Crash 1. Mobilisten_crash_stacktrace.txt
Crash 2. Mobilisten_crash2_stacktrace.txt
Crash 3. Mobilisten_crash3_stacktrace.txt
Crash 4: Mobilisten_crash4_stacktrace.txt
Crash 5. Mobilisten_crash5_stacktrace.txt

Issue: [iOS] - How to access Zoho SalesIQ SDK for make an update Launcher Theme?

Describe the bug
I can't able to compile when I try to access ZohoSalesIQSDK for access Launcher Theme by importing "Mobilisten" in my source.

To Reproduce
Steps to reproduce the behavior:

  1. I have installed ZohoDeskPortalServices via pods by followed this installation documentation for the purpose of implement Chat.
  2. Getting compiling error after put import Mobilisten on AppDelegate.

Expected behavior
It's should be compile without any issues. And I need to access and will do the same UI customisation

Screenshots
PodFiles
Launcher
ErrorCase

Smartphone (please complete the following information):

  • Do you usually run the project on the simulator or a physical device? Simulator as well as device too
  • Device: iPhone 14 Pro
  • OS: iOS 16.0
  • Xcode Version: 14.1
  • Mobilisten Version: 4.2.1

Kindly check and let me know how to solve that compiler error ?

Use of deprecated UIWebView

Could it be that this SDK is not updated to the guidelines of Apple regarding the use of UIWebView?
Apple is not accepting apps that use UIWebView any more:

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

We're using the React Native SDK, which has outdated binaries. We tried to replace the binaries reference with the ones in this project, which seems more active. However, we are still getting the same error from Apple.
Related issue on the React Native SDK: zoho/SalesIQ-Mobilisten-ReactNative#2

Is anyone else having this problem?
Could you confirm that this is working please?

Does not work with Swift 5.1.2

Attempted to follow your docs with a new project with both Swift and Objective-C and neither work. I get this error in Swift Module compiled with Swift 5.0.1 cannot be imported by the swift 5.1.2 compiler.

In Objective-C projects I don't even get an error, I merely have no api methods available.

SDK Not working in Objective C

I follow installation step as per give into zoho portal. but it give always error.i attach screenshot of error please help me to find out proper solution. Because same step follow in swift project and in work file for me.
[ZohoSalesIQ initWithAppKey:**zohoAppKey** accessKey:**zohoAccessKey** completion:^(BOOL completed) { }];
[ZohoSalesIQ.Chat setThemeColor:[UIColor navigationBarColor]];
[ZohoSalesIQ.Chat setBarTintColor:[UIColor navigationBarTextColor]];
[ZohoSalesIQ showLiveChat:YES];

I import header file in <Appdelegate.m> file.

Screenshot 2020-03-23 at 12 48 25 PM

Screenshot 2020-03-23 at 12 49 21 PM

registerVisitor(_ id: String?) not working

Hello,

As suggested in your documentation (the documentation is outdated btw, https://www.zoho.com/salesiq/help/developer-section/ios-mobile-sdk-installation.html it says install version 1.1.0), we have a login mechanism in our app.

After user successfully logged in, I added

if let user = Utils.getSavedUserData() {
    ZohoSalesIQ.registerVisitor(user.email)
}

However, if this register is done, we cannot get any messages on the panel side.
If registerVisitor line commented out, the messages are coming to panel, however we cannot identify our users.

Check the images below,


Screen Shot 2020-05-06 at 23 36 40

Issue: kReachabilityChangedNotification ambiguous

Describe the bug
A clear and concise description of what the bug is.
When trying to compile my app I get :
Reference to 'kReachabilityChangedNotification' is ambiguous

To Reproduce
Steps to reproduce the behavior:

  1. Create an app
  2. Add pod 'Mobilisten' and pod 'Reachability' to pod file
  3. Add headers for both project in a file and reference kReachabilityChangedNotification
  4. Build fails with Reference to 'kReachabilityChangedNotification' is ambiguous

Expected behavior
A clear and concise description of what you expected to happen.
The app should compile without error

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Do you usually run the project on the simulator or a physical device?
  • Device: Simulator iPhone 12 Pro Max
  • OS: iOS 14.5
  • Xcode Version: 12.5.1
  • Mobilisten Version: 4.1.0

Additional context
Add any other context about the problem here.
The constant kReachabilityChangedNotification is defined in Reachability and Mobilisten library

The conversations Page has no navigation bar

Describe the bug
There is no no navigation bar to close the conversations page when I open the SDK UI in floating button.

Screenshots
pPyjXJs.png
pPyjzQ0.png

Smartphone (please complete the following information):

  • Device: [e.g. iPhone 11 Pro]
  • OS: [e.g. iOS 16.5]
  • Xcode Version: [e.g. 14.3.1]
  • Mobilisten Version: [e.g. 6.0.1]

Does not work with React-Native

I get Use of undeclared identifier 'ZohoSalesIQ' .

I'm attempting to create a React-Native bridge for your project within my application, but whenever I try to import your project it does not work. This is hard-stopping me.

//
//  SalesIQBridge.m
//  HailTrace
//
//  Created by Austin Hunt on 11/11/19.
//  Copyright © 2019 Facebook. All rights reserved.
//
#import <Mobilisten/Mobilisten.h>
#import "SalesIQBridge.h"

@implementation SalesIQWrapper

RCT_EXPORT_MODULE();

RCT_EXPORT_METHOD(testMethod: (NSDictionary *) options resolver:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
  NSLog(@"Test!!");
  resolve(@"test response");
}

RCT_EXPORT_METHOD(init: (NSDictionary *) options resolver: (RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
  NSString * appKey = options[@"appKey"];
  NSString * accessKey = options[@"accessKey"];
  [ZohoSalesIQ initWithAppKey: appKey accessKey: accessKey completion:^(BOOL completed) {
    if (completed) {
      resolve();
    } else {
      reject(@"Error intializing ZohoSalesIQ");
    }
  }]
}

@end

Here is my pod file:

# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

target 'HailTrace' do
  
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  #use_frameworks!

  # Pods for HailTrace
  pod 'Mobilisten','1.1.0'
  pod 'Firebase/Core', '~> 5.20.2'
  pod 'Firebase/Messaging', '~> 5.20.2'
  pod 'Intercom'

  rn_path = '../node_modules/react-native'
  rn_maps_path = '../node_modules/react-native-maps'

  # See http://facebook.github.io/react-native/docs/integration-with-existing-apps.html#configuring-cocoapods-dependencies

  pod 'React', path: rn_path, subspecs: [
  'Core',
  'CxxBridge',
  'DevSupport',
  'RCTActionSheet',
  'RCTAnimation',
  'RCTGeolocation',
  'RCTImage',
  'RCTLinkingIOS',
  'RCTNetwork',
  'RCTSettings',
  'RCTText',
  'RCTVibration',
  'RCTWebSocket'
  ]

  # Explicitly include Yoga if you are using RN >= 0.42.0
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  # Third party deps podspec link
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  pod 'react-native-video', :path => '../node_modules/react-native-video'
  pod 'react-native-maps', path: rn_maps_path
  pod 'react-native-intercom', path: '../node_modules/react-native-intercom'
  
  # CodePush plugin dependency
  pod 'CodePush', :path => '../node_modules/react-native-code-push'
  
  post_install do |installer|
    installer.pods_project.targets.each do |target|
      if target.name == "React"
        target.remove_from_project
      end
      if target.name == "yoga"
          target.remove_from_project
      end
    end
  end
  target 'HailTraceTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

target 'HailTrace-tvOS' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for HailTrace-tvOS

  target 'HailTrace-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

On 17 Sept 2020 Xcode 12 will be released

Hi!

Tomorrow (17 Sept 2020) the new Xcode will be released, would you mind to update Mobilisten with the new swift compiler?

If you guys are looking before it, Xcode GM is available to download as right now

Thanks!

Don't know that error

Screen Shot 2022-05-11 at 2 39 09 PM
Latest for ios

Crashed: com.messageentity.serialQueue
0 Mobilisten 0x1b272c block_destroy_helper + 11400
1 Mobilisten 0x1b2a10 block_destroy_helper + 12140
2 libswiftDispatch.dylib 0x2598 partial apply for thunk for @callee_guaranteed () -> (@out A, @error @owned Error) + 28
3 libswiftDispatch.dylib 0x9af8 thunk for @callee_guaranteed () -> (@out A, @error @owned Error)partial apply + 16
4 libswiftDispatch.dylib 0x3958 closure #1 in closure #1 in OS_dispatch_queue._syncHelper(fn:execute:rescue:) + 188
5 libswiftDispatch.dylib 0x3a6c partial apply for thunk for @callee_guaranteed () -> () + 28
6 libswiftDispatch.dylib 0x3384 thunk for @escaping @callee_guaranteed () -> () + 28
7 libdispatch.dylib 0x3a2c _dispatch_client_callout + 20
8 libdispatch.dylib 0x12c90 _dispatch_lane_barrier_sync_invoke_and_complete + 56
9 libswiftDispatch.dylib 0x2cac implicit closure #2 in implicit closure #1 in OS_dispatch_queue.sync(execute:) + 180
10 libswiftDispatch.dylib 0x1d0c partial apply for implicit closure #2 in implicit closure #1 in OS_dispatch_queue.sync(execute:) + 56
11 libswiftDispatch.dylib 0x29ec OS_dispatch_queue._syncHelper(fn:execute:rescue:) + 396
12 libswiftDispatch.dylib 0x1dbc OS_dispatch_queue.sync(execute:) + 168
13 Mobilisten 0x1b017c block_destroy_helper + 1752
14 Mobilisten 0x2e3af4 block_destroy_helper + 24628
15 Mobilisten 0x2e3728 block_destroy_helper + 23656
16 Mobilisten 0x2e360c block_destroy_helper + 23372
17 Mobilisten 0x2447b0 block_destroy_helper.42 + 9828
18 Mobilisten 0x8e288 block_destroy_helper.86 + 1304
19 libdispatch.dylib 0x1e68 _dispatch_call_block_and_release + 32
20 libdispatch.dylib 0x3a2c _dispatch_client_callout + 20
21 libdispatch.dylib 0x11f48 _dispatch_main_queue_drain + 928
22 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF + 44
23 CoreFoundation 0x522f0 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
24 CoreFoundation 0xc1f4 __CFRunLoopRun + 2532
25 CoreFoundation 0x1f6b8 CFRunLoopRunSpecific + 600
26 GraphicsServices 0x1374 GSEventRunModal + 164
27 UIKitCore 0x513e88 -[UIApplication _run] + 1100
28 UIKitCore 0x2955ec UIApplicationMain + 364
29 Z1 0x20cf8 main + 18 (AppDelegate.swift:18)
30 ??? 0x1059fdce4 (Missing)

Swift 5.1 issue

After updating to Xcode 11 following error occurs.
" Module compiled with Swift 5.0 cannot be imported by the Swift 5.1 compiler"

Issue: The chat always start on portrait

Describe the bug
The chat always start on portrait

I might be missing something, but I couldn't see anything in the documentation about the orientation, it will be great if will work out of the box

To Reproduce
That's how we do right now on code:

ZohoSalesIQ.initWithAppKey("....")
ZohoSalesIQ.showLauncher(false)

ZohoSalesIQ.Chat.startChat(question: message)
ZohoSalesIQ.Chat.show()

Expected behavior
If the device rotate, the chat window should rotate with the device

In our case the iPad is on landscape, fixed on a mount so it is not as easy to rotate, but if you do, the chat keeps static not rotating with the device

Screenshots
Simulator Screen Shot - iPad (7th generation) - 2020-10-08 at 16 13 42

Smartphone (please complete the following information):
We are trying on an iPad in landscape

Issue: Failed to connect to raw.githubusercontent.com port 443: Operation timed out

Mobilisten pod is not working in m1 apple silicon macbook pro,
Here is more details
Screenshot 2021-04-30 at 10 24 15 PM

`Installing Mobilisten (3.4.2)

[!] Error installing Mobilisten
[!] /usr/bin/curl -f -L -o /var/folders/n6/v01s8xnx7jx8fg3264bmx1dh0000gn/T/d20210430-5972-1vr4v0/file.zip https://raw.githubusercontent.com/zoho/SalesIQ-Mobilisten-iOS/v3.4.2/Mobilisten.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.10.1 cocoapods-downloader/1.4.0'

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:04:22 --:--:-- 0
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation timed out`

Also try pod 'Mobilisten', '3.6.4' version but got same error
Let me know if you need any other information

Note: It will work with intel processor

Issue: Unable to Build Project using the CocoaPod dependency in Xcode 13.1

Describe the bug
A clear and concise description of what the bug is.

I am unable to build an iOS project that uses the Mobilisten 4.2.4 release with Xcode 13.1

To Reproduce
Steps to reproduce the behavior:

  1. Add Mobilisten to Podfile
  2. Run pod install
  3. Clean build folder
  4. Build Xcode project
  5. See error

Expected behavior
Project should build correctly without errors

Screenshots
Screenshot 2022-01-27 at 5 18 33 AM
Screenshot 2022-01-27 at 5 18 02 AM
Screenshot 2022-01-27 at 5 17 41 AM

Smartphone (please complete the following information):

  • Do you usually run the project on the simulator or a physical device?
  • Device: iPhone 8
  • OS: iOS 15.2.1
  • Xcode Version: [e.g. 13.1]
  • Mobilisten Version: [e.g. 4.2.4]

Additional context
Please note that the failure happens before the app is installed on a device, it happens whenever I attempt to build the project

Here's the error shown in Xcode:
Category 'SRWebSocket' on interface 'NSRunLoop' has different definitions in different modules; first difference is definition in module 'Mobilisten.LDSRWebSocket' found return type is 'NSRunLoop *'

Issue: No such module 'Mobilisten'

Describe the bug
Getting error on making build, "No such module 'Mobilisten'". Although its added in pod file and running pod install shows its being added.

To Reproduce
Steps to reproduce the behavior:

  1. Go to project directory
  2. Run pod install
  3. open workspace and build
  4. Get Swift Compiler Error "No such module 'Mobilisten'"

Expected behavior
Should make build properly

Screenshots
Screenshot 2022-02-09 at 3 24 35 PM

Smartphone

  • Do you usually run the project on the simulator or a physical device?
    Both giving same error

  • Device: [e.g. iPad 8th Generation]

  • OS: [e.g. iOS 14.4.2]

  • Xcode Version: [e.g. 12.5.1]

  • Mobilisten Version: [e.g. 4.2.5]

Additional Info:
COCOAPOD VERSION: 1.7.5
RUBY VERSION: 2.7.0

Issue: No visible @interface for 'LCSharedHandler' declares the selector 'show:'

Describe the bug
While trying to generate a build in iOS, getting the error: No visible @interface for 'LCSharedHandler' declares the selector 'show:'

To Reproduce
Steps to reproduce the behavior:

  1. In my existing react native app, added pod
    pod 'Mobilisten','3.6.4'
  2. Delete podfile.lock and Pods folder
  3. pod repo update && pod install
  4. Clean Project and build in Xcode
  5. See error: No visible @interface for 'LCSharedHandler' declares the selector 'show:'

Expected behavior
Successful build generation for iOS

Screenshots
Screenshot 2021-03-30 at 11 24 47 AM

Smartphone (please complete the following information):

  • Do you usually run the project on the simulator or a physical device? Simulator
  • Device: iPhone 11
  • OS: iOS 14.4
  • Xcode Version: 12.4
  • Mobilisten Version: 3.6.4
  • Machine Configuration: MacOS 11.2.3 | MacBook Pro 2017 | Dual-Core Intel Core i5

Additional Information

Issue: Mobile SDK Crash

Describe the bug
This bug happens on client no matter he is on chat screen or not, it looks like there is some unguarded variable problem.

To Reproduce
Steps to reproduce the behavior:

  1. Go to app
  2. Navigation one or two screen
  3. Wait some time
  4. After some time there is a crash

Expected behavior
There should not be a crash

Screenshots
Screenshot 2024-03-21 at 15 49 03

Smartphone (please complete the following information):

  • Do you usually run the project on the simulator or a physical device? Physical device
  • Device: iPhone 13 Pro Max
  • OS: iOS 17.4
  • Xcode Version: 15.3
  • Mobilisten Version: 8.0.2

Cannot use with XCode 11 last update

There is already an issue that is opened like 10 days ago but with no replies, opening a new issue to get the devs attention. SDK is currently unusable after latest XCode 11 update. The error is;

Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler

SDK Crash in any moment

Describe the bug
The bug is because a Multithreading Core Data Violation, I explain you more. Around 6 month ago I just started to test my app using the flag of Xcode to Multithreading Core Data Violation. And I found with early versions (all Betas) of your SDK that issue was happening. Today I updated to the Release 3.0 and I found the same issue. It's very simple to reproduce.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Edith Scheme', then Arguments and put this on the list: -com.apple.CoreData.ConcurrencyDebug 1 . Be sure that the checkmark is marked

  2. Hide the Default Button and use a custom one. In my code I only use the next line:

In AppDelegate.swift in the method application(_:didFinishLaunchingWithOptions:)

        ZohoSalesIQ.initWithAppKey("<MY APP KEY>", accessKey: "<MY ACCESS KEY>") { (success) in
            print(success)
        }
        ZohoSalesIQ.showLauncher(false)
  1. In my ViewController I am using only this function in a IBAction func : ZohoSalesIQ.Chat.show()
  2. Open the chat conversation and wait to the response of the agent and then... Kaboom

Expected behavior
Easy. Don't crash. Because this crash can appear in any moment in Production

Screenshots
You can see on the Thread 2, on the row with number 0, the flag of Xcode belong to Multithreading Violation
Captura de Pantalla 2020-06-27 a la(s) 9 51 33 p  m

Smartphone (please complete the following information):

  • Do you usually run the project on the simulator or a physical device? Almost on Device
  • Device: iPhone 6
  • OS: iOS 12.4.7
  • Xcode Version: 11.5]
  • Mobilisten Version: 3.0.2

Additional context
As additional information, I have to say that I am using this functions, accessing to them on the MainThread:

                ZohoSalesIQ.Visitor.setName(<THE NAME>)
                ZohoSalesIQ.Visitor.setEmail(<THE EMAIL>)
                ZohoSalesIQ.Visitor.setContactNumber(<THE PHONE NUMBER>)

Pd: Sorry by my English.

Issue:'Mobilisten/Mobilisten.h' file not found

Describe the bug
While trying to generate a build in Xcode 12.4, getting the error: 'Mobilisten/Mobilisten.h' file not found

To Reproduce
Steps to reproduce the behavior:

  1. Added pod 'Mobilisten', '3.6.4'
  2. pod repo update && pod install
  3. Clean build in Xcode
  4. Generate a build in Xcode
  5. See the error: 'Mobilisten/Mobilisten.h' file not found inside ios/Zohochat.h

Expected behavior
The build should be generated for iOS Simulator 14.4 (iPhone 11)

Screenshots
Screenshot 2021-03-18 at 12 42 51 PM

Smartphone

  • Do you usually run the project on the simulator or a physical device?: simulator
  • Device: iPhone 11
  • OS: iOS 14.4
  • Xcode Version: 12.4
  • Mobilisten Version: 3.6.4

Additional context

  • I'm using Mobilisten integrated to my react native project. (React native version 0.60.4)

Both ios and Android SDK zoho init fail

I don't know why now we can't init SDK

  • Android
    implementation 'com.zoho.salesiq:mobilisten:4.2.8'
  • IOS
    pod 'Mobilisten', '4.2.8'
    7 day ago not working also I contact to your support but they told me they checking and feedback to me but still not feedback.
    Screen Shot 2022-08-03 at 1 19 38 PM
    Screen Shot 2022-08-03 at 1 19 57 PM

2022-08-03 13 14 11
Screen Shot 2022-08-15 at 1 19 08 PM

App Crash

When click on close log icon the app crash
Screen Shot 2022-08-25 at 1 50 27 PM

App is crashing when opening zoho for some users

Mobilisten (= 1.1.1)

Here is stack trace:
Crashed: com.apple.root.default-qos
0 Mobilisten 0x104117b64 hidden#16335 + 223 (_hidden#20678:223)
1 Mobilisten 0x1040b0640 hidden#4605 + 196 (_hidden#16341:196)
2 Mobilisten 0x1040a88fc hidden#16037 + 196 (_hidden#16093:196)
3 Mobilisten 0x10402c990 hidden#3375 + 4324346256 (_hidden#3105:4324346256)
4 libdispatch.dylib 0x1abe80b7c _dispatch_call_block_and_release + 32
5 libdispatch.dylib 0x1abe81fd8 _dispatch_client_callout + 20
6 libdispatch.dylib 0x1abe84414 _dispatch_queue_override_invoke + 672
7 libdispatch.dylib 0x1abe90bd4 _dispatch_root_queue_drain + 348
8 libdispatch.dylib 0x1abe91384 _dispatch_worker_thread2 + 120
9 libsystem_pthread.dylib 0x1abee7690 _pthread_wqthread + 216
10 libsystem_pthread.dylib 0x1abeed9e8 start_wqthread + 8

According to my findings this happens when we are trying to access something whose permission we haven't asked. We are asking following permissions:

  1. Privacy - Bluetooth Always Usage Description
  2. Privacy - Bluetooth Peripheral Usage Description
  3. Privacy - Camera Usage Description
  4. Privacy - Contacts Usage Description
  5. Privacy - Location When In Use Usage Description
  6. Privacy - Microphone Usage Description
  7. Privacy - Photo Library Usage Description

live chat not sending to panel

this my code registervisitor
@IBAction func onClickBtnChatSpradz(_ sender: Any) { print(idMember ?? "") ZohoSalesIQ.registerVisitor(idMember) ZohoSalesIQ.Visitor.setName(namaMember) ZohoSalesIQ.Visitor.setEmail(email) ZohoSalesIQ.Visitor.setQuestion("Saya butuh bantuan terkait hal...") ZohoSalesIQ.Chat.show() }

What my mistake?
when i tried to chat with zoho. my chat not sending to panel dashboard
Running on simulator.
Screen Shot 2020-12-18 at 16 28 10

when i first click always error like this
Screen Shot 2020-12-18 at 16 40 12

Feature Request: Localization exemple for registerLocalizationFile()

Hello, how are you?

I'm not sure if this is the most suitable place to clarify this doubt, but I couldn't find another one.

I need to customize the strings used by SalesIQ. I saw in the iOS documentation the function registerLocalizationFile(), however, I couldn't find anywhere else a list with all the strings used. I found only in the Android documentation, but from what I saw, they are not the same.

Would you know where I can find this information?

Question: Invoking ZohoSalesIQ.Chat.show() API does not work prior to SDK initialization.

Describe the bug
The chat will not open on calling ZohoSalesIQ.Chat.show() if Mobilisten is unable to initialize yet for any undefined reason (no idea why its taking time even if called in appdidFinishLaunching).

To Reproduce
That's how we do right now on code:

ZohoSalesIQ.initWithAppKey("....")
ZohoSalesIQ.Chat.show()

Expected behavior
the chat window should always show or atleast give a error so developer can handle the failure.

Finding
If this "✅ MOBILISTEN » INITIALIZED {4.1.0}" is not printed yet the calling "ZohoSalesIQ.Chat.show()" will have no affect.

Support for Swift 5.2, Xcode Version 11.4 beta 3

Hi guys,

I downloaded the beta of Xcode and now we can't compile our project because of Mobilisten

Module compiled with Swift 5.1.2 cannot be imported by the Swift 5.2 compiler: MobilistenBeta/Mobilisten.framework/Modules/Mobilisten.swiftmodule/x86_64-apple-ios-simulator.swiftmodule

I was checking this other project:
https://github.com/zoho/Mobilisten-iOS-Beta

But it has the same problem, it is not an issue now, but it will be when Xcode will be release Swift 5.2

Thanks!

Issue: Cannot create new conversations with specific VisitorID

Describe the bug
Cannot create a new conversation using a specific VisitorID anymore: [ZohoSalesIQ registerVisitor:@"2500"];

To Reproduce
Steps to reproduce the behavior:

  1. Open SDK
  2. Tap on blue 'New Conversation' icon
  3. User details form appears, filling in all fields and tapping 'Submit' causes the 'Submit' button to simply shake and vibrate. The conversation does not get created.

Expected behavior
The conversation should be created.

Screenshots
Here is a video showing the issue: https://imgur.com/a/JnF7fG8

Smartphone (please complete the following information):

  • Do you usually run the project on the simulator or a physical device? Both
  • Device: iPhone 8
  • OS: iOS 14.4
  • Xcode Version: 12.4
  • Mobilisten Version: 3.6.4

Additional context
It only happens for a specific visitor ID: [ZohoSalesIQ registerVisitor:@"2500"]. It used to work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.