Skip to content

Commit

Permalink
fix(osx): rename classes to fix plugin (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasMerz authored Mar 31, 2022
1 parent f6cf8a6 commit 3b48f30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<platform name="osx">
<config-file target="config.xml" parent="/*">
<feature name="Device">
<param name="ios-package" value="CDVDevice"/>
<param name="ios-package" value="Device"/>
</feature>
</config-file>

Expand Down
2 changes: 1 addition & 1 deletion src/osx/CDVDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#import <Cordova/CDVPlugin.h>

@interface CDVDevice : CDVPlugin
@interface Device : CDVPlugin

+ (NSString*) cordovaVersion;

Expand Down
2 changes: 1 addition & 1 deletion src/osx/CDVDevice.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Licensed to the Apache Software Foundation (ASF) under one

#define SYSTEM_VERSION_PLIST @"/System/Library/CoreServices/SystemVersion.plist"

@implementation CDVDevice
@implementation Device

- (NSString*) modelVersion {
size_t size;
Expand Down

0 comments on commit 3b48f30

Please sign in to comment.