Skip to content
Merged
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
34 changes: 3 additions & 31 deletions android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,35 +1,7 @@
#
# TRUECALLER SDK COPYRIGHT, TRADEMARK AND LICENSE NOTICE
#
# Copyright © 2015-Present, True Software Scandinavia AB. All rights reserved.
#
# Truecaller and Truecaller SDK are registered trademark of True Software Scandinavia AB.
#
# In accordance with the Truecaller SDK Agreement available
# here (https://developer.truecaller.com/Truecaller-sdk-product-license-agreement-RoW.pdf)
# accepted and agreed between You and Your respective Truecaller entity, You are granted a
# limited, non-exclusive, non-sublicensable, non-transferable, royalty-free, license to use the
# Truecaller SDK Product in object code form only, solely for the purpose of using
# the Truecaller SDK Product with the applications and APIs provided by Truecaller.
#
# THE TRUECALLER SDK PRODUCT IS PROVIDED BY THE COPYRIGHT HOLDER AND AUTHOR “AS IS”,
# WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED,INCLUDING BUT NOT LIMITED
# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
# SOFTWARE QUALITY,PERFORMANCE,DATA ACCURACY AND NON-INFRINGEMENT. IN NO
# EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR
# OTHER LIABILITY INCLUDING BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THE TRUECALLER SDK PRODUCT OR THE USE
# OR OTHER DEALINGS IN THE TRUECALLER SDK PRODUCT, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. AS A RESULT, BY INTEGRATING THE TRUECALLER SDK
# PRODUCT YOU ARE ASSUMING THE ENTIRE RISK AS TO ITS QUALITY AND PERFORMANCE.
#

#Thu Aug 11 22:22:19 IST 2022
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip

Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public class TruecallerSdkPlugin : FlutterPlugin, MethodCallHandler, EventChanne
TruecallerSDK.getInstance()
.requestVerification(countryISO, phoneNumber, verificationCallback, it as FragmentActivity)
} catch (e: RuntimeException) {
result.error(e.message, e.message, null)
result.error(e.message?: "unavailable", e.message?: "unavailable", null)
}
}
?: result.error("UNAVAILABLE", "Activity not available.", null)
Expand Down
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ flutter:
platforms:
android:
package: com.truecallersdk
pluginClass: TruecallerSdkPlugin
ios:
pluginClass: TruecallerSdkPlugin