-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): pulling release/1.20.0 into master
- Loading branch information
Showing
62 changed files
with
809 additions
and
263,973 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source branch | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check PR title | ||
uses: rudderlabs/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
Examples/RudderSampleAppObjC/RudderSampleAppObjC/EncryptedDatabaseProvider.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// EncryptedDatabaseProvider.h | ||
// RudderDatabaseEncryption | ||
// | ||
// Created by Pallab Maiti on 14/09/23. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <Rudder/Rudder.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface EncryptedDatabaseProvider : NSObject<RSDatabaseProvider> | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
64 changes: 64 additions & 0 deletions
64
Examples/RudderSampleAppObjC/RudderSampleAppObjC/EncryptedDatabaseProvider.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
// | ||
// EncryptedDatabaseProvider.m | ||
// RudderDatabaseEncryption | ||
// | ||
// Created by Pallab Maiti on 14/09/23. | ||
// | ||
|
||
#import "EncryptedDatabaseProvider.h" | ||
#import "sqlite3.h" | ||
|
||
@interface RSEncryptedDatabase : NSObject <RSDatabase> | ||
|
||
@end | ||
|
||
@implementation RSEncryptedDatabase { | ||
sqlite3 *db; | ||
} | ||
|
||
- (int)open_v2:(const char *)filename flags:(int)flags zVfs:(const char *)zVfs { | ||
return sqlite3_open_v2(filename, &db, flags, zVfs); | ||
} | ||
|
||
|
||
- (int)exec:(const char *)zSql xCallback:(callback)xCallback pArg:(void *)pArg pzErrMsg:(char * _Nullable *)pzErrMsg { | ||
return sqlite3_exec(db, zSql, xCallback, pArg, pzErrMsg); | ||
} | ||
|
||
- (int)close { | ||
return sqlite3_close(db); | ||
} | ||
|
||
- (int)step:(void *)pStmt { | ||
return sqlite3_step(pStmt); | ||
} | ||
|
||
- (int)finalize:(void *)pStmt { | ||
return sqlite3_finalize(pStmt); | ||
} | ||
|
||
- (int)prepare_v2:(const char *)zSql nBytes:(int)nBytes ppStmt:(void **)ppStmt pzTail:(const char **)pzTail { | ||
return sqlite3_prepare_v2(db, zSql, nBytes, (sqlite3_stmt **)(ppStmt), pzTail); | ||
} | ||
|
||
- (int)column_int:(void *)pStmt i:(int)i { | ||
return sqlite3_column_int(pStmt, i); | ||
} | ||
|
||
- (const unsigned char *)column_text:(void *)pStmt i:(int)i { | ||
return sqlite3_column_text(pStmt, i); | ||
} | ||
|
||
- (int)key:(const void *)pKey nKey:(int)nKey { | ||
return sqlite3_key(db, pKey, nKey); | ||
} | ||
|
||
@end | ||
|
||
@implementation EncryptedDatabaseProvider | ||
|
||
- (id<RSDatabase>)getDatabase { | ||
return [RSEncryptedDatabase new]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.