Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ group 'com.github.chinloyal.pusher_client'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.3.50'
ext.kotlin_version = '1.7.10'
repositories {
google()
jcenter()
Expand Down Expand Up @@ -38,7 +38,8 @@ android {
}

dependencies {
implementation "com.pusher:pusher-java-client:2.2.5"
implementation "com.pusher:pusher-java-client:2.4.0"
implementation "com.google.code.gson:gson:2.8.9"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ import androidx.annotation.NonNull
import com.github.chinloyal.pusher_client.pusher.PusherService

import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.common.MethodChannel.MethodCallHandler
import io.flutter.plugin.common.MethodChannel.Result
import io.flutter.plugin.common.PluginRegistry.Registrar

/** PusherClientPlugin */
class PusherClientPlugin: FlutterPlugin {
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/AuthRequestBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Romario Chinloy on 10/27/20.
//

import PusherSwiftWithEncryption
import PusherSwift

class AuthRequestBuilder: AuthRequestBuilderProtocol {
let pusherAuth: PusherAuth
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/ChannelEventListener.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import PusherSwiftWithEncryption
import PusherSwift

class ChannelEventListener {
static let `default`: ChannelEventListener = ChannelEventListener()
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/ConnectionListener.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Romario Chinloy on 10/27/20.
//

import PusherSwiftWithEncryption
import PusherSwift

class ConnectionListener: PusherDelegate {
static let `default`: ConnectionListener = ConnectionListener()
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/PusherService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Flutter
import PusherSwiftWithEncryption
import PusherSwift

class PusherService: MChannel {
static let CHANNEL_NAME = "com.github.chinloyal/pusher_client"
Expand Down
2 changes: 1 addition & 1 deletion ios/pusher_client.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A pusher client plugin that works.
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'PusherSwiftWithEncryption', '~> 8.0.0'
s.dependency 'PusherSwift', '~> 10.1.5'
s.platform = :ios, '9.0'

# Flutter.framework does not contain a i386 slice.
Expand Down