blob: a0b92b5d5f1ec67d2bf232a349838a5119a2751b [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/services.dart';
/// Method channel for the plugin's platform<-->Dart calls (all but the
/// ios->Dart calls which are carried over the [callbackChannel]).
const MethodChannel channel =
MethodChannel('plugins.flutter.io/in_app_purchase');
/// Method channel for the plugin's ios->Dart calls.
// This is in a separate channel due to historic reasons only.
// TODO(cyanglaz): Remove this. https://github.com/flutter/flutter/issues/69225
const MethodChannel callbackChannel =
MethodChannel('plugins.flutter.io/in_app_purchase_callback');