# LINE Developers Console Guide for LINE MINI App
Understand the basic structure and precautions of the LINE Developers Console before requesting a review.
# LINE Developers Console for LINE MINI App
LINE Developers Console is a tool for developing and testing your LINE MINI App, as well as for submitting it for review and releasing it. Currently, LINE Developers Console for LINE MINI App can be used by anyone who is permitted customers in the LINE MINI App Policy (opens new window) in the service area of Japan. If your service area is Taiwan or Thailand, only those who have been approved by our local subsidiary can use the console.
# Precautions for using LINE Developers Console for LINE MINI App
The following outlines the differences between a LINE MINI App which is configured on a LINE MINI App channel and a LIFF app which is added to a LINE Login channel.
# Basic structure of a LINE MINI App channel
Unlike a LINE Login channel, a LINE MINI App channel has the following structural features:
When you create a LINE MINI App channel on the LINE Developers Console, three internal channels, Developing, Review, and Published, are created at the same time. Each internal channel has its own features and purpose.
Internal channel | Usage | When settings are reflected (Details) | Channel status | Admin who can check the details of the internal channel | Users that access the LINE MINI App |
---|---|---|---|---|---|
Developing | Internal channel for developing and testing | Reflected upon configuration on the LINE Developers Console | Always "Developing" | Only administrators who have accepted the permissions you granted
| Only testers who have accepted the permissions you granted |
Review | Internal channel that LY Corporation uses to review your LINE MINI App | Once review begins, settings from the "Developing" channel are reflected (copied) | "Developing" at all times |
| Only LY Corporation reviewers |
Published | Internal channel published to users | When published, settings from the "Developing" channel are reflected (copied) | "Published" at all times | Only administrators who have accepted the permissions you granted
| End users |
You can't change the status of the internal channels.
In order to add a user to test the LINE MINI App, enroll them as a tester of the LINE MINI App channel. For more information, see Managing roles.
# Confirm LIFF ID and set endpoint URL
In the LINE MINI App Channel, one LINE MINI App (LIFF app) is added to each internal channel. Confirm the unique LIFF ID and specify the Endpoint URL for each internal channel, and deploy the LIFF app to each endpoint URL.
- Prior to requesting review, deploy the "Review" LIFF app to the endpoint URL for "Review".
- Prior to requesting publication, deploy the "Published" LIFF app the endpoint URL for "Published".
You can specify the URL with basic authentication in the Endpoint URL for Developing or Review. For more information, see Use basic authentication to restrict access to your LINE MINI App before it is released.
- When you call the
liff.init()
method on the LINE MINI App, specify a different LIFF ID for each internal channel. For example, when you execute initialization from the "Review" channel, useliff.init()
to specify the LIFF ID of the Review channel before initializing it. If you can't launch a LINE MINI App on all the internal channels, check whether the following two LIFF IDs match.- LIFF ID issued for each internal channel
- LIFF ID specified in
liff.init()
when initializing the LIFF app
- LIFF ID is included in the LIFF URL (e.g.
https://liff.line.me/{liffId}/
). In other words, if you want to send a custom share message from a LIFF app, send the URL that corresponds to the LIFF app. For example, if you want to send a custom share message from LIFF for "Review", send the URL to share the LIFF app for "Review". - Multiple LIFF apps cannot be added (multiple LIFF IDs cannnot be issued) to a single internal channel
- From the LIFF tab of the LINE MINI App channel, you can't add any LIFF apps other than the default LINE MINI App (LIFF app).
- From the LIFF tab of the LINE MINI App channel, you can't change settings for scope, add friend option, etc. for each LIFF app (internal channel).
- From the LIFF tab of the LINE MINI App channel, you can't configure Module mode.
The settings on the LINE Developers Console will be automatically reflected (copied) when they become necessary. For more information, see When settings on the LINE Developers Console are reflected.
# Issuing a channel access token
Use a stateless channel access token for the LINE MINI App channel.
Issue a Channel access token for each internal channel on which the LINE MINI App (LIFF app) operates. Channel ID and Channel secret can be found under the Channel basic settings tab on the LINE Developers Console.
Don't specify the channel access token for the "Developing" LINE MINI App channel when sending Service Messages from the "Review" and "Published" LINE MINI Apps
Long-lived channel access tokens and channel access token with a user-specified expiration (Channel Access Token v2.1) cannot be used for LINE MINI App channels.
When developing LINE MINI Apps, either stateless channel access tokens or short-lived channel access tokens can be used. Stateless channel access tokens are recommended among those two. Stateless channel access tokens have an unlimited number of issuances, so there is no need for the application to manage the token lifecycle.
# About configuring the company or owner's country or region
When creating a LINE MINI App channel, you must agree to the content of the I represent and warrant that the region to provide the LINE MINI App and service company's country or region are the same. checkbox. The country or region will be displayed to the end user in the channel consent screen.
If you need to change, enter your wish to change the setting and the country or region which you want to change to in the Reference materials for the review section of the Workflow tab when you apply for review.
# Entering Apple Developer Program information
In accordance with the App Store Review Guidelines (opens new window), the service provider or the company in charge of developing must be enrolled in the Apple Developer Program in order to publish LINE MINI Apps. There is an annual fee to enroll the Apple Developer Program.
On the Business information tab, under Apple Developer Program information, enter the information you registered with the Apple Developer Program. This information won't be made publicly available to users, but will be submitted in the event of a disclosure request from Apple regarding the LINE MINI App.
Item | Required | Description |
---|---|---|
Developer name | Required | The name of the developer registered with the Apple Developer Program. If you're an individual, your name, or if you're a corporation, your corporation name. For more information, see What You Need To Enroll (opens new window) in Apple Developer Program. |
Team ID | Required | The Team ID registered in your membership details. For more information, see Locate your Team ID (opens new window) in Apple Developer. |
# When settings on the LINE Developers Console are reflected
When you create a LINE MINI App channel, the settings information you enter will be copied to the three internal channels.
However, if you change the channel name, scope of the LIFF app, add friend option, etc. after you create a LINE MINI App channel, only the settings on the "Developing" channel will change. Changes won't be reflected on the "Review" or "Published" channels. This is to allow you to freely change settings in the internal channel for "Developing" to ensure smooth development.
The following table shows when the settings changed on the LINE Developers Console are reflected in "Review" and "Published".
Internal channel | When settings are reflected |
---|---|
Developing | Reflected when configured on the LINE Developers Console. |
Review | When review begins, settings from the Developing channel are reflected (copied). |
Published | When published, settings from the Developing channel are reflected (copied). |
Since the timing at which the settings are reflected differs for each internal channel, the development company won't be able to test the "Review" LINE MINI App until the review process has started. Similarly, the "Published" LINE MINI App cannot be tested until it's been reviewed and published.
# Channel description
The Channel description on the Basic settings tab is used for two purposes. For these purposes, provide the correct service description:
- To help users understand the contents of the LINE MINI App service.
- To understand the service contents of the LINE MINI App at the time of screening by LY Corporation.
Refer to the following table for input examples of Channel description.
Channel name | Channel description | |
---|---|---|
Bad example | LINE FRIENDS STORE | LINE FRIENDS STORE is a store for LINE character goods. |
Good example | LINE FRIENDS STORE | This is a mobile ordering service at the LINE FRIENDS STORE. You can order and pay in advance and receive your merchandise at the store. |
# Differences in the behavior of the 3 LINE MINI Apps
Some screens are displayed differently in the "Developing" LINE MINI App, the "Review" LINE MINI App, and the "Published" LINE MINI App.
LINE MINI App | Header subtext (reference) |
---|---|
"Developing" LINE MINI App | The domain of the page you are viewing will be displayed at all times. |
"Review" LINE MINI App | The domain of the page you are viewing will be displayed at all times. |
"Published" LINE MINI App | Only when you are viewing a page from a different domain than the endpoint URL, the domain of that page will be displayed. |