carp_communication_package 0.3.0 copy "carp_communication_package: ^0.3.0" to clipboard
carp_communication_package: ^0.3.0 copied to clipboard

outdated

CARP communication sampling package

CARP Communication Sampling Package #

pub package

This library contains a sampling package for communication to work with the carp_mobile_sensing package. This packages supports sampling of the following Measure types:

  • phone_log
  • telephony
  • text-message-log
  • text-message

See the wiki for further documentation, particularly on available probes and sampling schemas.

For Flutter plugins for other CARP products, see CARP Mobile Sensing in Flutter.

If you're interested in writing you own sampling packages for CARP, see the description on how to extend CARP on the wiki.

Installing #

To use this package, add the following to you pubspc.yaml file. Note that this package only works together with carp_mobile_sensing.

dependencies:
  flutter:
    sdk: flutter
  carp_mobile_sensing: ^0.3.0
  carp_communication_package: ^0.3.0
  ...

Android Integration #

Add the following to your app's manifest.xml file located in android/app/src/main:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="<your_package_name>"
    xmlns:tools="http://schemas.android.com/tools">

   ...
   
   <!-- The following permissions are used for CARP Mobile Sensing -->
   <uses-permission android:name="android.permission.CALL_PHONE"/>
   <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
   <uses-permission android:name="android.permission.READ_PHONE_NUMBERS"/>
   <uses-permission android:name="android.permission.READ_SMS"/>

</manifest>

iOS Integration #

No changes should be needed regarding permission in the Info.plist for this package.