Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/28.06.22 #110

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1060,5 +1060,7 @@ The response below shows that some tokens assigned to the reveal elements get re
## Limitation
Currently the skyflow collect elements and reveal elements can't be used in the XML layout definition, we have to add them to the views programatically.

## Reporting a Vulnerability

If you discover a potential security issue in this project, please reach out to us at [email protected]. Please do not create public GitHub issues or Pull Requests, as malicious actors could potentially view them.

2 changes: 1 addition & 1 deletion Skyflow/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ext {
mGroupId = "com.skyflowapi.android"
mArtifactId = "skyflow-android-sdk"
mVersionCode = 1
mVersionName = "1.16.0"
mVersionName = "1.16.0-dev.3a862fa"

mLibraryName = "skyflow-android"
mLibraryDescription = "Skyflow’s android SDK can be used to securely collect, tokenize, and display sensitive data in the mobile without exposing your front-end infrastructure to sensitive data."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow

import androidx.test.platform.app.InstrumentationRegistry
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/androidTest/java/com/Skyflow/GetByIdsTest.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow

import Skyflow.*
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/androidTest/java/com/Skyflow/GetTest.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow

import Skyflow.*
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/androidTest/java/com/Skyflow/InsertTest.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow

import Skyflow.*
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/BaseElement.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import android.content.Context
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Callback.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow


Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Client.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import Skyflow.core.*
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/CollectContainer.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import Skyflow.collect.client.CollectRequestBody
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/CollectElementInput.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import com.Skyflow.collect.elements.validations.ValidationSet
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/CollectElementOptions.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

class CollectElementOptions(
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/CollectOptions.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import org.json.JSONObject
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Configuration.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow


Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/ConnectionConfig.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import org.json.JSONObject
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Container.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import Skyflow.core.APIClient
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/ContainerOptions.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

class ContainerOptions {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/ContainerType.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

class ContainerType {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/ContentType.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

enum class ContentType(var type:String) {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Element.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import android.content.Context
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/ElementType.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow
import Skyflow.collect.elements.validations.SkyflowValidateMonth
import Skyflow.collect.elements.validations.SkyflowValidateYear
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Env.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

enum class Env {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Init.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import Skyflow.core.Logger
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/InsertOptions.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

class InsertOptions(
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Label.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import android.annotation.SuppressLint
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/LogLevel.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

enum class LogLevel {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Options.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

class Options(val logLevel: LogLevel = LogLevel.ERROR, val env: Env = Env.PROD) {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Padding.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

public class Padding(val left:Int=10,val top:Int=10,val right:Int=10,val bottom:Int=10) {}
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/RedactionType.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

enum class RedactionType {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/RequestMethod.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

enum class RequestMethod {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/RevealContainer.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import Skyflow.core.Logger
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/RevealElementInput.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow


Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/RevealElementOptions.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

class RevealElementOptions(var formatRegex : String = "",var replaceText:String? = null) {}
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/RevealOptions.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

class RevealOptions {
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/SkyflowError.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import Skyflow.core.Logger
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/SkyflowErrorCode.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import Skyflow.core.Messages
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Style.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import android.graphics.Color
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/Styles.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

public class Styles( base: Style? = Style(),
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/TextField.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow

import Skyflow.collect.elements.utils.*
Expand Down
3 changes: 3 additions & 0 deletions Skyflow/src/main/kotlin/Skyflow/TokenProvider.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.client

import Skyflow.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.client

import Skyflow.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.client

internal data class CollectRequestRecord(val columnName:String,val value:Any) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.elements.utils

import com.skyflow_android.R
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.elements.utils

import android.text.TextUtils
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.elements.utils

import android.graphics.Canvas
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.elements.utils

import android.Manifest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.elements.validations

import Skyflow.Element
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow.collect.elements.validations

import Skyflow.collect.elements.validations.SkyflowInternalValidationProtocol
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow.collect.elements.validations

import Skyflow.collect.elements.validations.SkyflowInternalValidationProtocol
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.elements.validations

internal interface SkyflowInternalValidationProtocol {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow.collect.elements.validations

import Skyflow.collect.elements.utils.CardType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow.collect.elements.validations

import Skyflow.collect.elements.validations.SkyflowInternalValidationProtocol
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package com.Skyflow.collect.elements.validations

import Skyflow.collect.elements.validations.SkyflowInternalValidationProtocol
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.elements.validations

import android.text.TextUtils
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*
Copyright (c) 2022 Skyflow, Inc.
*/
package Skyflow.collect.elements.validations

import Skyflow.utils.Utils
Expand Down
Loading