File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed 
src/iosMain/kotlin/com/liftric/kvault Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,9 @@ import platform.Security.*
77import  platform.darwin.OSStatus 
88import  platform.darwin.noErr 
99
10- internal  val  NSBundle .Companion .mainIdentifier
11-     get() =  this .mainBundle.bundleIdentifier? :  " com.liftric.KVault" 
12- 
1310/* *
1411 * Keychain wrapper. 
12+  * Note: Using the deprecated init() the service name was the apps bundle identifier or if null "com.liftric.KVault". 
1513 * 
1614 * @param serviceName Name of the service. Used to categories entries. 
1715 * @param accessGroup Name of the access group. Used to share entries between apps. 
@@ -21,20 +19,6 @@ actual open class KVault(
2119    val  serviceName :  String?  = null ,
2220    val  accessGroup :  String?  = null 
2321) {
24-     /* *
25-      * Initiates a Keychain with the main bundle identifier as the service name and without an access group. 
26-      * If the main bundle identifier is null, it will fallback to `com.liftric.KVault`. 
27-      */  
28-     @Deprecated(
29-         """ 
30-         Will be removed in a future version,  
31-         please use the primary constructor.  
32-         Check your service name before migrating. 
33-         """  ,
34-         level =  DeprecationLevel .WARNING 
35-     )
36-     constructor () :  this (NSBundle .mainIdentifier, null )
37- 
3822    /* *
3923     * Saves a string value in the Keychain. 
4024     * @param key The key to store 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments