Giter Club home page Giter Club logo

ios-sdk's People

Contributors

alond avatar manzick avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

rustamnurg

ios-sdk's Issues

Обновить или инкапсулировать зависимости (Starscream, Moya)

Прошу обновить или инкапсулировать

  • Starscream до 4.0.4 - важно
  • Moya/Core до 14.0.0
[!] CocoaPods could not find compatible versions for pod "Moya/Core":
  In snapshot (Podfile.lock):
    Moya/Core (= 14.0.0)

  In Podfile:
    CarrotquestSDK was resolved to 0.0.3, which depends on
      Moya/RxSwift (~> 11.0) was resolved to 11.0.0, which depends on
        Moya/Core (= 11.0.0)

    Moya was resolved to 14.0.0, which depends on
      Moya/Core (= 14.0.0)

CocoaPods could not find compatible versions for pod "Starscream":
  In snapshot (Podfile.lock):
    Starscream (= 4.0.4)

  In Podfile:
    CarrotquestSDK was resolved to 1.0.9, which depends on
      RxStarscream was resolved to 0.3, which depends on
        Starscream (~> 1.1.3)

    Starscream

Ошибка после авторизации

Добрый день, после авторизации пользователя

Carrot.shared.auth

блок с ошибкой выкидывает:
CarrotLib.UIRepresentableError error 0.

Get unread conversations

Добрый день!

Если хотя бы раз в коде была вызвана функция getUreadConversations, то при любом последующем открытии чата через openChat, комплишн этой функции будет вызываться автоматически. Что может вызвать дальнейшие проблемы в работе приложения.

Снимок экрана 2021-03-25 в 16 00 11

P.S. Ну и можно подправить название функции.

Messages infinity loading

I get infinity loading when send messages(pic. 1)

But at admin panel i got this messages and already answered(pic. 2)

To fix this i can open history and return back or reopen chat

Device: Simulator iPhone SE iOS 11.4

image
pic. 1

image
pic. 2

image
pic. 3

Send message crash

Добрый день! Видел похожие открытые issue, но не уверен, что причина одна и та же.

Происходит краш приложения, при отправке сообщения в чат, логов от Moya про отправку сообщения нет, поэтому, видимо, до отправки на сервер.
И на симулятор и на девайсе воспроизводится, тестил на iOS 14.4.
Xcode 12.4

Вот еще немного логов из Sentry.
Снимок экрана 2021-03-25 в 14 20 38

BREADCRUMBS:
Снимок экрана 2021-03-25 в 14 22 06
Снимок экрана 2021-03-25 в 14 22 20
Снимок экрана 2021-03-25 в 14 22 34
Снимок экрана 2021-03-25 в 14 22 46

Вот последние логи, тут Moya:
Снимок экрана 2021-03-25 в 14 23 26

Есть ли критичные изменения при обновлении в версии CarrotquestSDK 2.1.9 -> 2.2.0 ?

Вопрос

Есть ли критичные изменения при обновлении в версии CarrotquestSDK 2.1.9 -> 2.2.0 ?

Проблема

Невозможность использования CarrotquestSDK версии 2.2.0 требующей Swift 5.5.2
из-за бага на стороне Apple https://developer.apple.com/forums/thread/697184
Xcode 13.2 не позволяет использовать приложение на iOS ниже версии 13

P.S. Обновите документацию, так как для актуальной версии требуется Swift 5.5.2

Невозможно запустить приложение с установленный CarrotquestSDK

Мой Podfile:

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

# ignore all warnings from all pods
inhibit_all_warnings!
use_modular_headers!

target 'MyApp' do
    pod 'Alamofire', '~> 4.8'
    pod 'Moya', '~> 12.0'
    pod 'SwiftyJSON', '~> 4.0'
    pod 'Kingfisher'
    pod 'MultiSlider'
    pod 'IQKeyboardManagerSwift'
    pod 'RealmSwift', '~> 4.3.2'
    pod 'EmptyDataSet-Swift', '~> 5.0.0'
    pod 'Firebase/Crashlytics'
    pod 'Firebase/Analytics'
    pod 'VK-ios-sdk'
    pod 'FacebookCore'
    pod 'FacebookLogin'
    pod 'FacebookShare'
    pod 'FacebookSDK'
    pod 'YandexMobileMetrica/Dynamic', '3.9.2'
    pod 'YandexMapKit'
    pod 'R.swift'
    pod 'STPopup'
    pod 'ImageViewer', :git => 'https://github.com/sequenia/ImageViewer.git'
    pod 'SwiftMaskTextfield'
    pod 'lottie-ios'
    pod 'ParallaxHeader', '~> 3.0.0'
    pod 'Nantes'
    pod "SkeletonView"
    pod 'CarrotquestSDK'
end

Build приложения проходит адекватно, но при попытке запустить приложение падает на LaunchScreen с ошибкой:

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
  Referenced from: /private/var/containers/Bundle/Application/7EE3449B-87A7-4D16-BBC3-F77026A6B4E1/Westfalika.app/Frameworks/CarrotLib.framework/CarrotLib
  Reason: image not found
(lldb) 

Если исключить pod-ы, которые есть в зависимостях у CarrotquestSDK (Alamofire, Moya и Kingfisher) и переключится с use_modular_headers на use_frameworks, ломается другая библиотека:

dyld: Library not loaded: @rpath/RxRelay.framework/RxRelay
  Referenced from: /private/var/containers/Bundle/Application/22099ED6-A147-4E1F-987F-01FDEEEDBBAA/Westfalika.app/Frameworks/CarrotLib.framework/CarrotLib
  Reason: image not found
(lldb) 

Посоветуйте, что с этим можно сделать?

Unsupported Swift architecture

Всем привет

Обновил либо до версии 2.7.3

И при запуске получаю такие ошибки

Xcode версия 14.1

Как можно решить данную проблему?

Снимок экрана 2022-11-21 в 11 43 03

Auth Error with userId

When i use Carrot.shared.auth(withUserId: userId, withUserAuthKey: userAuthKey,)
I get error Wrong user serializator, nevertheless userId updates at admin console.
UserId is UUID format. If i use simple userId like "1234" code work without error

Unsupported Swift architecture

Здравствуйте. Помогите пожалуйста с проблемой.
Не получается импортировать ваш sdk для react-native проекта (Xcode 14)
При попытке импортировать sdk

#import "CarrotSDK/CarrotSDK-Swift.h"

Получаем ошибку

Unsupported Swift architecture

iOS 14.4. AppCrash when send message

When i send message at chat app crash with error Thread 1: EXC_BAD_ACCESS (code=1, address=0x9c22932471f0)

Everything works fine at simulator with iOS 11.4.
But at iOS 14.4 app crash. Checked at ipad 2017 and Simulator iPhone 12

Auth error after logout

Добрый день.
Делаю в начале logout, а затем авторизую нового пользователя. В это случае всегда выдает ошибку:

Снимок экрана 2021-03-17 в 12 14 43

Снимок экрана 2021-03-17 в 12 15 27

версия 2.0.1
Xcode 12.4

Can't reach successHandler with Carrot.shared.auth

I use sample code, but can't reach successHandler. If I pass wrong id or key - errorHandler is working perfectly.

XCode version 11.5

Carrot.shared.auth(
    withUserId: userId, 
    withUserAuthKey: userAuthKey,
        successHandler: {
             print("Carrotquest SDK user auth successed")
        },
        errorHandler: { error in
            print("Carrotquest SDK user auth error: " + error)
        })

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.