This commit implements the BuildInfo Capacitor plugin for iOS to retrieve the app version and build number from Info.plist. This resolves an issue where the version information was not being updated on iOS devices due to the absence of a native plugin implementation.
9 lines
212 B
Objective-C
9 lines
212 B
Objective-C
|
|
#import <Foundation/Foundation.h>
|
|
#import <Capacitor/Capacitor.h>
|
|
|
|
// 플러그인 메서드 정의
|
|
CAP_PLUGIN(BuildInfoPlugin, "BuildInfo",
|
|
CAP_PLUGIN_METHOD(getBuildInfo, CAPPluginReturnPromise);
|
|
)
|