taboola_sdk 0.0.1+6

  • Readme
  • Changelog
  • Example
  • Installing
  • 50

taboola_sdk #

Taboola Flutter SDK.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Taboola Contact: https://www.taboola.com/contact

Licenses #

https://sdk.taboola.com/taboolasdk/docs/taboola-android-sdk-license

https://sdk.taboola.com/taboolasdk/docs/taboola-ios-sdk-license

0.0.1 #

  • TODO: Describe initial release.

example/README.md

taboola_sdk_example #

Demonstrates how to use the taboola_sdk plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  taboola_sdk: ^0.0.1+6

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:taboola_sdk/descriptors/application_descriptor.dart';
import 'package:taboola_sdk/descriptors/device_descriptor.dart';
import 'package:taboola_sdk/descriptors/sdk_descriptor.dart';
import 'package:taboola_sdk/extra_properties_manager.dart';
import 'package:taboola_sdk/native_plugin/taboola_sdk_plugin.dart';
import 'package:taboola_sdk/publisher_info.dart';
import 'package:taboola_sdk/standard/itemBrowser.dart';
import 'package:taboola_sdk/standard/taboola_bridge.dart';
import 'package:taboola_sdk/standard/taboola_standard.dart';
import 'package:taboola_sdk/standard/taboola_standard_builder.dart';
import 'package:taboola_sdk/standard/taboola_standard_listener.dart';
import 'package:taboola_sdk/standard/taboola_webview.dart';
import 'package:taboola_sdk/standard/webview_gesture_recognizer.dart';
import 'package:taboola_sdk/standard/webview_manager.dart';
import 'package:taboola_sdk/taboola.dart';
import 'package:taboola_sdk/utils/logger.dart';
import 'package:taboola_sdk/utils/rects_utils.dart';
import 'package:taboola_sdk/utils/text_utils.dart';
import 'package:taboola_sdk/utils/type_converter_utils.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
16
Health:
Code health derived from static analysis. [more]
97
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
65
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Jan 19, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Fix lib/standard/taboola_standard_builder.dart. (-1.49 points)

Analysis of lib/standard/taboola_standard_builder.dart reported 3 hints:

line 1 col 8: Unused import: 'package:flutter/cupertino.dart'.

line 5 col 8: Unused import: 'package:taboola_sdk/standard/webview_manager.dart'.

line 6 col 8: Unused import: 'package:taboola_sdk/standard/taboola_webview.dart'.

Fix lib/descriptors/device_descriptor.dart. (-0.50 points)

Analysis of lib/descriptors/device_descriptor.dart reported 1 hint:

line 16 col 16: The value of the field '_undefinedValue' isn't used.

Fix lib/standard/taboola_standard.dart. (-0.50 points)

Analysis of lib/standard/taboola_standard.dart reported 1 hint:

line 11 col 7: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: TaboolaStandard._extraPropertiesManager, TaboolaStandard.scrollController

Fix additional 16 files with analysis or formatting issues. (-0.50 points)

Additional issues in the following files:

  • lib/standard/taboola_webview.dart (1 hint)
  • lib/descriptors/application_descriptor.dart (Run flutter format to format lib/descriptors/application_descriptor.dart.)
  • lib/descriptors/sdk_descriptor.dart (Run flutter format to format lib/descriptors/sdk_descriptor.dart.)
  • lib/extra_properties_manager.dart (Run flutter format to format lib/extra_properties_manager.dart.)
  • lib/native_plugin/taboola_sdk_plugin.dart (Run flutter format to format lib/native_plugin/taboola_sdk_plugin.dart.)
  • lib/publisher_info.dart (Run flutter format to format lib/publisher_info.dart.)
  • lib/standard/itemBrowser.dart (Run flutter format to format lib/standard/itemBrowser.dart.)
  • lib/standard/taboola_bridge.dart (Run flutter format to format lib/standard/taboola_bridge.dart.)
  • lib/standard/taboola_standard_listener.dart (Run flutter format to format lib/standard/taboola_standard_listener.dart.)
  • lib/standard/webview_gesture_recognizer.dart (Run flutter format to format lib/standard/webview_gesture_recognizer.dart.)
  • lib/standard/webview_manager.dart (Run flutter format to format lib/standard/webview_manager.dart.)
  • lib/taboola.dart (Run flutter format to format lib/taboola.dart.)
  • lib/utils/logger.dart (Run flutter format to format lib/utils/logger.dart.)
  • lib/utils/rects_utils.dart (Run flutter format to format lib/utils/rects_utils.dart.)
  • lib/utils/text_utils.dart (Run flutter format to format lib/utils/text_utils.dart.)
  • lib/utils/type_converter_utils.dart (Run flutter format to format lib/utils/type_converter_utils.dart.)

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Homepage URL is insecure. (-5 points)

Update the homepage field and use a secure (https) URL.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
connectivity ^0.4.6+1 0.4.6+2
device_info ^0.4.1+4 0.4.1+4
flutter 0.0.0
package_info ^0.4.0+13 0.4.0+13
sim_info ^0.1.1 0.1.1
system_info ^0.1.1 0.1.2
webview_flutter ^0.3.18+1 0.3.19+5
Transitive dependencies
collection 1.14.11 1.14.12
file_utils 0.1.4
globbing 0.3.0
meta 1.1.8
path 1.6.4
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test