Skip to content

Commit

Permalink
move MultiplatformAdapter to ios folder
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilNatonek committed Oct 16, 2023
1 parent b137b39 commit 6ab44a8
Show file tree
Hide file tree
Showing 225 changed files with 1,074 additions and 1,566 deletions.
2 changes: 1 addition & 1 deletion example/ios/BlePlxExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = J8TDRBT8NT;
DEVELOPMENT_TEAM = U72M5MDD87;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = BlePlxExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -734,4 +734,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: e43e14d964b1de567b73b376b4538cddb7c50ca9

COCOAPODS: 1.12.1
COCOAPODS: 1.13.0
File renamed without changes.
8 changes: 8 additions & 0 deletions ios/BlePlx.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
//
// BleClient.h
// BleClient
//
// Created by Przemysław Lenart on 27/07/16.
// Copyright © 2016 Polidea. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
Expand Down
11 changes: 10 additions & 1 deletion ios/BlePlx.mm → ios/BlePlx.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
//
// BleClient.m
// BleClient
//
// Created by Przemysław Lenart on 27/07/16.
// Copyright © 2016 Polidea. All rights reserved.
//

#import "BlePlx.h"
@import MultiplatformBleAdapter;
#import "BlePlx-Swift.h"


@interface BlePlx () <BleClientManagerDelegate>
@property(nonatomic) BleClientManager* manager;
Expand Down
1,112 changes: 1,050 additions & 62 deletions ios/BlePlx.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

27 changes: 0 additions & 27 deletions ios/MultiPlatformBleAdapter/MultiplatformBleAdapter.podspec

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions ios/MultiPlatformBleAdapter/iOS/classes/MultiPlatformBLEAdapter.h

This file was deleted.

13 changes: 0 additions & 13 deletions ios/MultiPlatformBleAdapter/iOS/classes/MultiPlatformBLEAdapter.m

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ FOUNDATION_EXPORT double BleClientManagerVersionNumber;
FOUNDATION_EXPORT const unsigned char BleClientManagerVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <BleClientManager/PublicHeader.h>


Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// Created by Przemysław Lenart on 25/07/16.
//
//KN - TEST

import Foundation
import CoreBluetooth

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ public class BleClientManager : NSObject {

// Mark: Discovery -------------------------------------------------------------------------------------------------

// After connection for peripheral to be usable,
// After connection for peripheral to be usable,
// user should discover all services and characteristics for peripheral.
@objc
public func discoverAllServicesAndCharacteristicsForDevice(_ deviceIdentifier: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ extension Descriptor {
}
return nil
}
}
}
10 changes: 0 additions & 10 deletions ios/Podfile

This file was deleted.

2 changes: 1 addition & 1 deletion react-native-ble-plx.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ Pod::Spec.new do |s|
s.dependency "ReactCommon/turbomodule/core"
end
end
end
end

0 comments on commit 6ab44a8

Please sign in to comment.