Question by
lukasz1500100900 · Aug 31, 2015 at 11:35 AM ·
iospluginevent
iOS plugin code event
Hi, How can I use events in iOS native plugin? In my code plugin.m I'm creating object and add event like a:
- (void)beaconManager:(id)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region
{
NSLog(@"TEST RANGE");
CLBeacon *firstBeacon = [beacons firstObject];
NSLog(@"%f", firstBeacon.accuracy);
}
In Unity C# code I use function from native plugin which create object and declare event, but NSLog never print "TEST RANGE".
Comment
Your answer
Follow this Question
Related Questions
ARKit Plugin and ARKitRemote - how to develop in the Editor 1 Answer
iTunes song preview streaming on iOS 0 Answers
iOS/Xcode: Duplicate Symbols 1 Answer
symbol(s) not found for architecture arm64: Please Help! 1 Answer
AdMob plugin in iOS: 'The type or namespace name 'Google' could not be found.' 0 Answers