-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from ShreyashKore/dev
Dev
- Loading branch information
Showing
38 changed files
with
2,659 additions
and
255 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
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,5 @@ | ||
ALTER TABLE HttpTransaction ADD COLUMN originalRequestHeaders TEXT; | ||
ALTER TABLE HttpTransaction ADD COLUMN originalRequestBody TEXT; | ||
ALTER TABLE HttpTransaction ADD COLUMN originalResponseCode INTEGER; | ||
ALTER TABLE HttpTransaction ADD COLUMN originalResponseHeaders TEXT; | ||
ALTER TABLE HttpTransaction ADD COLUMN originalResponseBody TEXT; |
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
7 changes: 7 additions & 0 deletions
7
inspektor/src/androidMain/kotlin/com/gyanoba/inspektor/platform/FileUtils.android.kt
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,7 @@ | ||
package com.gyanoba.inspektor.platform | ||
|
||
import com.gyanoba.inspektor.utils.ContextInitializer.Companion.appContext | ||
|
||
internal actual fun getAppDataDir(): String { | ||
return appContext.dataDir.absolutePath | ||
} |
13 changes: 13 additions & 0 deletions
13
inspektor/src/appleMain/kotlin/com/gyanoba/inspektor/platform/FileUtils.apple.kt
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,13 @@ | ||
package com.gyanoba.inspektor.platform | ||
|
||
import platform.Foundation.NSDocumentDirectory | ||
import platform.Foundation.NSSearchPathForDirectoriesInDomains | ||
import platform.Foundation.NSUserDomainMask | ||
|
||
internal actual fun getAppDataDir(): String { | ||
return NSSearchPathForDirectoriesInDomains( | ||
NSDocumentDirectory, | ||
NSUserDomainMask, | ||
true, | ||
).first() as String | ||
} |
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.