Skip to content

android.app.MissingForegroundServiceTypeException with targetSDK 34 #22

@Oldes

Description

@Oldes

I'm using own ANE for Play Assets Delivery and after updating target to version 34 I can see in Google Play Console crash reports like"

com.google.android.play:asset-delivery@@2.2.2 - com.google.android.play.core.assetpacks.ci.onServiceConnected
android.app.MissingForegroundServiceTypeException

I guess that same would be with this ANE so I would like to ask, how it could be fixed?

I'm currently modifying manifest file by adding android:foregroundServiceType="dataSync" into asset pack services and also including <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC"/>, but now when I submit the app to review, I can see a form requesting a video how we use the service. Is this normal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions