I have an issue with native issues in my hyperloop module for LFLiveKit, looking for some advice and help.
I only see a red screen showing. I also get the alerts for the permissions.
Here is my code:
var UIScreen = require('UIKit/UIScreen'),
UIViewController = require('UIKit/UIViewController'),
UIView = require('UIKit/UIView'),
UIColor = require('UIKit/UIColor'),
CGPointMake = require('CoreGraphics').CGPointMake,
CGRectMake = require('CoreGraphics').CGRectMake,
NSBundle = require('Foundation/NSBundle'),
NSURL = require('Foundation/NSURL'),
NSData = require('Foundation/NSData'),
AVPlayer = require('AVFoundation/AVPlayer'),
AVPlayerLayer = require('AVFoundation/AVPlayerLayer'),
UIColor = require('UIKit/UIColor'),
NSString = require("Foundation/NSString"),
UIImage = require('UIKit/UIImage'),
UIImageView = require('UIKit/UIImageView'),
LFLiveKit = require('LFLiveKit/LFLiveKit'),
LFLiveAudioConfiguration = require("LFLiveKit/LFLiveAudioConfiguration"),
LFLiveVideoConfiguration = require("LFLiveKit/LFLiveVideoConfiguration"),
LFLiveSession = require("LFLiveKit/LFLiveSession"),
LFLiveStreamInfo = require("LFLiveKit/LFLiveStreamInfo"),
LFLiveVideoQuality = require("LFLiveKit").LFLiveVideoQuality,
AVCaptureDevice = require("AVFoundation/AVCaptureDevice"),
AVMediaTypeVideo = require("AVFoundation").AVMediaTypeVideo,
AVMediaTypeAudio = require("AVFoundation").AVMediaTypeAudio,
TiApp = require('Titanium/TiApp');
var config = LFLiveAudioConfiguration.defaultConfiguration();