Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

NativeScript 8 support #19

Description

@sulymkaa

Android error while build with plugin installed: Could not find method compile() for arguments [com.github.hotchemi:android-rate:1.0.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

iOS error while plugin use: ERROR in ./node_modules/nativescript-rater/rater.ios.js 4:14-50
Module not found: Error: Can't resolve 'tns-core-modules/ui/frame' in './node_modules/nativescript-rater'
resolve 'tns-core-modules/ui/frame' in './node_modules/nativescript-rater'

NativeScript 8.2.3
@nativescript/android 8.2.2
@nativescript/ios 8.2.2
node v17.6.0
npm 8.1.4

adding plugin to android platform make it impossible to run or build. To reproduce in android just call

  • tns plugin add nativescript-rater
  • tns prepare android
  • tns run android
    adding plugin to ios runs and builds fine until plugin init in app code. . To reproduce in is call
  • tns plugin add nativescript-rater
    add import { appRater } from 'nativescript-rater';
    and appRater.init({
    showNeverButton:false,
    debugMode: false,
    significantUsesUntilPrompt: 0,
    daysBeforeReminding: 0,
    daysUntilPrompt: 14,
    // showLaterButton: true
    // debugMode: !TARGET_ENVIRONMENT_CONFIG.production
    });
  • tns prepare ios
  • tns run ios

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions