Skip to content

Commit

Permalink
Merge pull request #22 from dyte-in/feat/1.32.0
Browse files Browse the repository at this point in the history
fix/1.32.1
  • Loading branch information
irohitb authored Feb 19, 2022
2 parents 4242db3 + 3e29634 commit 06ec5ff
Show file tree
Hide file tree
Showing 176 changed files with 5,337 additions and 1 deletion.
39 changes: 39 additions & 0 deletions Frameworks/DyteSdk.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>DyteSdk.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<key>LibraryPath</key>
<string>DyteSdk.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
Localizable.strings
React
*/
"alert"="alert";
"checkbox"="checkbox";
"combobox"="combo box";
"menu"="menu";
"menubar"="menu bar";
"menuitem"="menu item";
"progressbar"="progress bar";
"radio"="radio button";
"radiogroup"="radio group";
"scrollbar"="scroll bar";
"spinbutton"="spin button";
"switch"="switch";
"tab"="tab";
"tablist"="tab list";
"timer"="timer";
"toolbar"="tool bar";
"checked"="checked";
"unchecked"="not checked";
"busy"="busy";
"expanded"="expanded";
"collapsed"="collapsed";
"mixed"="mixed";
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// DyteSdk.h
// dyteClientMobile
//
// Created by Rohit Bhatia on 6/11/21.
//


@import UIKit;
@import Foundation;

NS_ASSUME_NONNULL_BEGIN

@interface Dyte : NSObject

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// DyteMeeting.h
// dyteClientMobile
//
// Created by Rohit Bhatia on 07/06/21.
//

#import <Foundation/Foundation.h>

@interface DyteMeetingConfig : NSObject
@property(nonatomic, readwrite) NSString * roomName;
@property(nonatomic, readwrite) NSString *authToken;
@property(nonatomic, assign, readwrite) BOOL autoTune;
@property(nonatomic, readwrite) NSString *apiBase;
@property(nonatomic, readwrite) NSString *orgId;
@property(nonatomic, assign, readwrite) BOOL showSetupScreen;
@property(nonatomic, assign, readwrite) NSDictionary* uiConfig;
@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// DyteMeetingInfo.h
// DyteMobile
//
// Created by Rohit Bhatia on 6/24/21.
// Copyright © 2021 Facebook. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DyteMeetingInfo : NSObject
@property(nonatomic, assign, readonly) BOOL meetingJoined;
@property(nonatomic, assign, readonly) BOOL meetingConnected;
@property(nonatomic, assign, readonly) BOOL activeSpeaker;
@property(nonatomic, assign, readonly) NSString *roomMessage;
@property(nonatomic, assign, readonly) NSString *message;
#pragma mark - This class is a singleton
+ (instancetype _Nonnull)sharedInstance;
-(void)setAllValueNil;

@end


NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// DyteMeeting.h
// dyteClientMobile
//
// Created by Rohit Bhatia on 08/06/21.
//

#import <UIKit/UIKit.h>
#import "DyteMeetingConfig.h"
#import "DyteParticipant.h"

@protocol DyteMeetingViewDelegate <NSObject>

@optional

- (void)meetingConnected;
- (void)meetingDisconnect;
- (void)meetingJoined;
- (void)meetingEnded;
- (void)activeSpeaker:(NSString*)peerId;
- (void)participantLeave:(DyteParticipant*)participant;
- (void)participantJoin:(DyteParticipant*)participant;
- (void)participantUpdate:(DyteParticipant*)participant;

@end



@interface DyteMeetingView : UIView

@property (nonatomic, nullable, weak) id<DyteMeetingViewDelegate> delegate;
- (void)join:(DyteMeetingConfig*)config;
- (void)updateUiConfig:(NSDictionary*)config;
@end


Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//
// DyteParticipant.h
// DyteMobile
//
// Created by Rohit Bhatia on 6/24/21.
// Copyright © 2021 Facebook. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DyteParticipant : NSObject
@property(nonatomic) NSString *name;
@property(nonatomic) NSString *id;
@property(nonatomic) NSString *picture;
@property(nonatomic) NSString *clientSpecificId;
@property(nonatomic, assign) BOOL isScreensharing;
@property(nonatomic, assign) BOOL isPinned;
@property(nonatomic, assign) BOOL videoEnabled;
@property(nonatomic, assign) BOOL audioEnabled;
@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// DyteParticipants.h
// react-native-dyte-mobile
//
// Created by Rohit Bhatia on 6/28/21.
//

#import <Foundation/Foundation.h>



@interface DyteParticipants : NSObject
//TODO: Why do we have participants as Nonnull here?
@property(nonatomic, readonly) NSMutableArray* _Nonnull participants;
+ (instancetype _Nonnull)sharedInstance;
- (NSInteger)doesParticipantsExist:(NSString*_Nonnull)id;
- (void)setAllValueNil;
@end
Loading

0 comments on commit 06ec5ff

Please sign in to comment.